Solved To Prefetch, or not to Prefetch?


To waste RAM or not to waste RAM? :unsure:

Prefetch is still one of the lead causes of leaked RAM/CPU.
 

My Computer

System One

  • OS
    Windows 11 Home
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 3600 & No fTPM (07/19)
    Motherboard
    MSI B450 TOMAHAWK 7C02v1E & IFX TPM (07/19)
    Memory
    4x 8GB ADATA XPG GAMMIX D10 DDR4 3200MHz CL16
    Graphics Card(s)
    MSI Radeon RX 580 ARMOR 8G OC @48FPS (08/19)
    Sound Card
    Creative Sound Blaster Z (11/16)
    Monitor(s) Displays
    24" AOC G2460VQ6 (01/19)
    Screen Resolution
    1920×1080@75Hz & FreeSync (DisplayPort)
    Hard Drives
    ADATA XPG GAMMIX S11 Pro SSD 512GB (07/19)
    PSU
    Seasonic M12II-520 80 Plus Bronze (11/16)
    Case
    Lian Li PC-7NB & 3x Noctua NF-S12A FLX@700rpm (11/16)
    Cooling
    CPU Cooler Noctua NH-U12S@700rpm (07/19)
    Keyboard
    HP Wired Desktop 320K + Rabalux 76017 Parker (01/24)
    Mouse
    Logitech M330 Silent Plus (04/23)
    Internet Speed
    400/40 Mbps via RouterOS (05/21) & TCP Optimizer
    Browser
    Edge (No FB/Google) & Brave for YouTube & LibreWolf for FB
    Antivirus
    NoAV & Binisoft WFC & NextDNS
    Other Info
    Headphones: Sennheiser RS170 (09/10)
    Phone: Samsung Galaxy Xcover 7 (02/24)
Hi folks
Prefetch is a complex algorithm which exists in all modern OS'es and is often far more useful than you think. What it does is by "learning" what the user runs most frequently and then puts this into storage so when the application is run it's available almost instantly. You need a decent amount of RAM of course and it's "dynamic". Large applications with sluggish start up times obviously will benefit more than small fast apps.

Some indication of performance can often be noticed after clean installing a new Windows system. You'll probably see overall performance improve after a few logons as the prefetch algorithm starts using data it has collected and it refines as it goes along.

On multi user systems like servers etc it makes a lot of sense.

Some of those articles about CPU / memory leak etc have nothing to do with the theoretical aspects of prefetch. If those things happen that's because of defects in the OS itself. High CPU usage also is usually caused (unless you are running a load of complex mathematical models and a load of floating point apps) by either lack of RAM for the workload or incredibly poor Disk I/O subsystems (or both). On modern machines the graphic functions are often handled via a separate graphic processor / co-processor.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
"Scanning and backing up prefetch data will have no noticeable impact on time or storage."

Au contraire Mon Fraire!

Repeatedly scanning thousands of garbage files on a hard drive, shortens the life of the drive. And it also lengthens the time of the scan too.
It can also lengthen the time it takes for the system to boot up, because all files have to be read and directories formed.
Then if you do a backup, the garbage files swell the size of the backup.
Maybe a better example for you, would be, "do you take out the garbage in your house, or just stack it in a corner?".

You're whole precept that garbage should be left alone because it won't hurt anything is amateurish, juvenile and very poor advice to the new PC operators, that might be reading this forum.

Personally, I have just shut OFF Prefetch on this PC, and so far I see no ill effects. "Minus krud is cool!"
 

My Computer

System One

  • OS
    Win-11/Pro/64, Optimum 11 V5, 23H2 22631.3374
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Made w/Gigabyte mobo/DX-10
    CPU
    AMD FX 6350 Six Core
    Motherboard
    Gigabyte, DX-10, GA-78LMT-USB3
    Memory
    Crucial, 16 GB
    Graphics Card(s)
    NVIDEA GeForce 210, 1GB DDR3 Ram.
    Sound Card
    Onboard
    Monitor(s) Displays
    24" Acer
    Screen Resolution
    1280x800
    Hard Drives
    Crucial SSD 500GB, SanDisk 126GB SSD, Toshiba 1TB HD
    PSU
    EVGA 500 W.
    Case
    Pac Man, Mid Tower
    Cooling
    AMD/OEM
    Keyboard
    101 key, Backlit/ Mechanical Switches/
    Mouse
    Logitech USB Wireless M310
    Internet Speed
    Hughes Net speed varies with the weather
    Browser
    Firefox 64x
    Antivirus
    Windows Defender, Super Anti Spyware
    Other Info
    Given to me as DEAD, and irreparable.
    Rebuilt with Gigabyte mobo, AMD cpu, 16GB ram and 500GB Crucial SSD.
"Scanning and backing up prefetch data will have no noticeable impact on time or storage."

Au contraire Mon Fraire!

Repeatedly scanning thousands of garbage files on a hard drive, shortens the life of the drive. And it also lengthens the time of the scan too.
It can also lengthen the time it takes for the system to boot up, because all files have to be read and directories formed.
Then if you do a backup, the garbage files swell the size of the backup.
Maybe a better example for you, would be, "do you take out the garbage in your house, or just stack it in a corner?".

You're whole precept that garbage should be left alone because it won't hurt anything is amateurish, juvenile and very poor advice to the new PC operators, that might be reading this forum.

Personally, I have just shut OFF Prefetch on this PC, and so far I see no ill effects. "Minus krud is cool!"
You seem to not realise that what you consider garbage Windows does not.
What is this 'all files have to be scanned, read and directories formed' you are talking about? When is this supposed to happen, at boot up? Doesn't happen that way. Windows only reads the files needed for boot, when booting, not the whole disk.
An anti-virus app will exclude certain file types and directories when scanning.
Most backup apps will also exclude certain files and directories to keep the size of the backup reduced, these files and directories will be re created by Windows when it is restored, if needed.
Encouraging 'new' PC operators to switch off parts of the OS and delete files without fully understanding their use is hardly good advice.
You seem to need your tinfoil hat loosening a little bit. :unsure:
 

My Computer

System One

  • OS
    Windows 11 Pro 22H2, build: 22621.521
    Computer type
    PC/Desktop
    Manufacturer/Model
    Scan 3XS Custom 1700
    CPU
    Intel i7-12700K 3.6GHz Base (5.0GHz Turbo)
    Motherboard
    Asus ProArt Creator B660 D4
    Memory
    64GB DDR 3600Mhz
    Graphics Card(s)
    Asus Tuff RTX 3080 10GB OC
    Sound Card
    Onboard Realtek
    Monitor(s) Displays
    Gigabyte G32QC 32inch 16:9 curved @2560 x 1440p 165Hz Freesync Premium Pro/ Dell SE2422H 24inch 16:9 1920 x 1080p 75Hz Freesync
    Screen Resolution
    2560 x 1440p & 1920 x 1080p
    Hard Drives
    WD SN570 1TB NVME (Boot), Samsung 870QVO 1TB (SSD), SanDisk 3D Ultra 500Gb (SSD) x2, Seagate 3Tb Expansion Desk (Ext HDD), 2x Toshiba 1Tb P300 (Ext HDD)
    PSU
    Corsair RM1000X Modular
    Case
    Corsair 4000D Airflow Desktop
    Cooling
    Corsair Hydro H150i RGB Pro XT 360mm Liquid Cooler, 3 x 120mm fans, 1x Exhaust
    Keyboard
    Microsoft Ergonomic
    Mouse
    Logitech G402
    Internet Speed
    800Mbs
    Browser
    Edge Chromium
    Antivirus
    Defender, Malwarebytes
Some here obviously don't understand either what prefetch is or how it works. It's nothing to do with scanning 1000's of files etc etc. Some people also confuse "Prefetch" with "Indexing" which is a different ball game.

99% of people should really leave a lot of these "internal parts" of the Windows OS alone until they have some idea (hopefully not gleaned from terrible sites like Reddit) of how the OS works -- and even then it's often better just to leave Windows to manage itself.

If you want to try out new things for "Learning" then start by using a VM as you can fiddle around quite a lot and if it all goes wrong just delete the VM and start again. If you can't manage VM's then you shouldn't be tinkering around with parts of the Windows kernel in any case

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Back
Top Bottom