| Windows 7: Prefetch and SSDs |
19 Oct 2009
|
#1 | | |
Prefetch and SSDs My understanding from reading the MSDN blog was that prefetch and defrag were to be disabled for SSDs with "good performance." I have a second generation Intel X25-M 80GB as my boot drive which I believe qualifies as a "good performing" SSD.
I do see that defrag is disabled for my SSD (C: drive). However, the c:\windows\prefetch folder is fully populated. And the registry entry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters\EnablePrefetcher is set to 3, which seems to mean "enable all."
Does anyone know why prefetch is enabled? Is this happening for everyone?
I am running RTM from TechNet with all updates applied. | My System Specs |
| System Manufacturer/Model Number home-built OS Win 7-32, XP Pro-32 CPU Xeon 3070 (2.66 GHz) Motherboard Asus P5W DH Deluxe, BIOS 2901 Memory 4 GB Graphics Card PowerColor ATI Radeon HD 5750 (fanless) Sound Card on-board Monitor(s) Displays Dell U2711 Screen Resolution 2560x1440 Keyboard Lexmark IBM Type "M" - PS/2 connector Mouse Wacom Intous4, Logitech Wheel Mouse as backup PSU Seasonic SS-650HT Case Antec P180 Cooling Sunbeam Tuniq Tower 120, 4 120mm fans (variable rpm) Hard Drives All SATA:
ICH7R (AHCI): 1 Intel X-25M 80GB SSD, 2 Samsung HD103UJ 1TB, 1 Seagate ST3750330MS 750GB;
JMB363: Samsung SH-S223L DVD;
Promise TX4302: two mobile racks, normally powered off Internet Speed Cable ~ 6 mbps Other Info DVD: Samsung SH-S223L (SATA),
SanDisk CompactFlash reader,
Epson R280 printer,
HP Laserjet 4100dtn,
Epson scanner,
NeatReceipts scanner
Laptops: Dell XPS 15 L501x, Dell E5420 |
19 Oct 2009
|
#2 | | 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise Texas |
Hello Guy,
I have a older generation SSD and had to manually disable Disk Defragmenter and prefetch from running on that drive. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Self built custom OS 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise CPU Intel i7-3930K 3.2 Ghz (O/C 4 Ghz) Motherboard ASRock X79 Extreme11 Memory 32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400MHz Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card SB Recon 3Di Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Thermaltake Level 10 GT Snow Edition Cooling Corsair Hydro H100 Hard Drives 256GB OCZ Vector
160GB OCZ RevoDrive X2
2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
Lite-On iHBS212 12x BD Writer
Samsung CLX-3175FW Printer
Netgear WNDR3800 Router
Motorola SBG6580 Cable Modem
2x APC Back-UPS XS 1500 |
20 Oct 2009
|
#3 | | Windows 7 Professional x64 The Wild West |
This same thing is happening to me also. I have even set the registry key you noted to "0" and it STILL writes to the prefetch folder. I can't seem to figure this one out. I you have any suggestions Brink. That is the one thing that has me baffled.
In resource monitor it says something like "readyboot.ecl" or something. | My System Specs | | System Manufacturer/Model Number Keeps changing - (Custom) OS Windows 7 Professional x64 CPU Intel Core i7 860 Motherboard Gigabyte GA-P55-UD4P Memory 4GB DDR3 Mushkin 1600Mhz @ 7-8-7-20 Graphics Card MSI GTS250 1GB DDR3 Twin Frozr Sound Card Onboard realtek Monitor(s) Displays Samsung SyncMaster 24" P2450 + Samsung 20" 2033 Screen Resolution 1920 X 1080 and 1600 X 900 (#2 system 1440 X 900) Keyboard Gigabyte USB keyboard Mouse Microsoft wireless laser mouse 5000 PSU Corsair 750 HX Modular Case Lancool PC-K62 Cooling Cooler Master TX3 CPU cooler and 4-140mm and 1-120mm case Hard Drives Patriot Inferno 120GB SSD + 3 WD Blue 640GB drives Internet Speed 7 Mb down 1.5 up Other Info System #2: AMD Phenom II X6 1055T (Freezer 7 Pro cooler) - Gigabyte 880GMA-UD2H - WD 500GB Black - 9500GT (1GB) 500W OCZ modular PSU - Antec 200 case. System #3 (LapTop) Core 2 Duo T6670 - 320GB 7200RPM HD - 4GB DDR3 RAM. |
20 Oct 2009
|
#4 | | 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise Texas |
Hi Nate,
You could also disable the "Superfetch" service to stop it. Superfetch (Memory Prefetcher) - Vista Forums | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Self built custom OS 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise CPU Intel i7-3930K 3.2 Ghz (O/C 4 Ghz) Motherboard ASRock X79 Extreme11 Memory 32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400MHz Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card SB Recon 3Di Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Thermaltake Level 10 GT Snow Edition Cooling Corsair Hydro H100 Hard Drives 256GB OCZ Vector
160GB OCZ RevoDrive X2
2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
Lite-On iHBS212 12x BD Writer
Samsung CLX-3175FW Printer
Netgear WNDR3800 Router
Motorola SBG6580 Cable Modem
2x APC Back-UPS XS 1500 |
20 Oct 2009
|
#5 | | Windows 7 Professional x64 The Wild West |
I did that too but I continue to get the prefetch writes. I have asked this question on the Patriot forums and received no answer there. I think I am missing something. It will be okay I'm sure. I just like to figure these things out. haha
I will try it again and do everything you say in the tutorial again. Maybe I forgot to hit "stop" or something. | My System Specs | | System Manufacturer/Model Number Keeps changing - (Custom) OS Windows 7 Professional x64 CPU Intel Core i7 860 Motherboard Gigabyte GA-P55-UD4P Memory 4GB DDR3 Mushkin 1600Mhz @ 7-8-7-20 Graphics Card MSI GTS250 1GB DDR3 Twin Frozr Sound Card Onboard realtek Monitor(s) Displays Samsung SyncMaster 24" P2450 + Samsung 20" 2033 Screen Resolution 1920 X 1080 and 1600 X 900 (#2 system 1440 X 900) Keyboard Gigabyte USB keyboard Mouse Microsoft wireless laser mouse 5000 PSU Corsair 750 HX Modular Case Lancool PC-K62 Cooling Cooler Master TX3 CPU cooler and 4-140mm and 1-120mm case Hard Drives Patriot Inferno 120GB SSD + 3 WD Blue 640GB drives Internet Speed 7 Mb down 1.5 up Other Info System #2: AMD Phenom II X6 1055T (Freezer 7 Pro cooler) - Gigabyte 880GMA-UD2H - WD 500GB Black - 9500GT (1GB) 500W OCZ modular PSU - Antec 200 case. System #3 (LapTop) Core 2 Duo T6670 - 320GB 7200RPM HD - 4GB DDR3 RAM. |
20 Oct 2009
|
#6 | | 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise Texas |
See if setting the value to 0 instead may help. Superfetch - Change Preload Data - Vista Forums | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Self built custom OS 64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise CPU Intel i7-3930K 3.2 Ghz (O/C 4 Ghz) Motherboard ASRock X79 Extreme11 Memory 32 GB (8GBx4) G.SKILL DDR3 Quad PC3-19200 2400MHz Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card SB Recon 3Di Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Thermaltake Level 10 GT Snow Edition Cooling Corsair Hydro H100 Hard Drives 256GB OCZ Vector
160GB OCZ RevoDrive X2
2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
Lite-On iHBS212 12x BD Writer
Samsung CLX-3175FW Printer
Netgear WNDR3800 Router
Motorola SBG6580 Cable Modem
2x APC Back-UPS XS 1500 System Manufacturer/Model Number Self-Built in July 2009 OS Windows 7 Ultimate x64 CPU Intel Q9550 2.83Ghz OC'd to 3.40Ghz Motherboard Gigabyte GA-EP45-UD3R rev. 1.1, F12 BIOS Memory 8GB G.Skill PI DDR2-800, 4-4-4-12 timings Graphics Card EVGA 1280MB Nvidia GeForce GTX570 Sound Card Realtek ALC899A 8 channel onboard audio Monitor(s) Displays 23" Acer x233H Screen Resolution 1920x1080 Keyboard ABS M1 Mechanical Mouse Logitech G9 Laser Mouse PSU Corsair 620HX modular Case Antec P182 Cooling stock Hard Drives Intel X25-M 80GB Gen 2 SSD
Western Digital 1TB Caviar Black, 32MB cache. WD1001FALS Internet Speed 15/2 cable modem Other Info Windows and Linux enthusiast. Logitech G35 Headset. |
20 Oct 2009
|
#8 | | Win 7 Pro x64 x 3, Win 7 Pro x86, Ubuntu 9.04 |
This is good information to know! I'm surprised superfetch is disabled tho, it seems even with the rocking speeds of SSD's, RAM speeds still destroy them when it comes to transfer rates, especially due to the SATA 2 controller limits. I guess maybe it's a minuscule gain and not worth letting your system worry about it? I dunno..
Last edited by fakeasdf; 21 Oct 2009 at 12:42 AM..
Reason: superfetch, not prefetch...
| My System Specs | | System Manufacturer/Model Number fakeasdf (c) OS Win 7 Pro x64 x 3, Win 7 Pro x86, Ubuntu 9.04 CPU 2 x C2D E8600@3.33 Ghz, C2D T8300@2.4 ghz, P4 @ 3.0 ghz, Motherboard GIGABYTE GA-EP35-DS3P LGA 775 Intel P35 ATX Dynamic Energy S Memory 2x8 GB Corsair, 4GB Kingston, 2GB GSkill Graphics Card ATI Radeon 4670 1 GB DDR3, 2600 Pro, 2400 Pro, Intel 965 Sound Card I don't care... Connected using Optical on Media Center Monitor(s) Displays Panasonic Viera 50" Plasma, 2x 19" Screen Resolution 1080P, 1280x1024's Case Antec P182 Gun Metal Black Hard Drives 4 Terabytes Internet Speed 20 Mbit U/D |
20 Oct 2009
|
#9 | | Windows 7 Professional x64 The Wild West |
I gave up a few weeks ago. I have a 10MB prefetch folder and one day I will get it solved. Thanks for the links pparks.
The answer to the original question is make that value 0. It seems to work for most people Guy Scharf.
I am starting to wonder if I just have not deleted the existing files in that folder because I can't see it writing to it now......maybe that DOES work. | My System Specs | | System Manufacturer/Model Number Keeps changing - (Custom) OS Windows 7 Professional x64 CPU Intel Core i7 860 Motherboard Gigabyte GA-P55-UD4P Memory 4GB DDR3 Mushkin 1600Mhz @ 7-8-7-20 Graphics Card MSI GTS250 1GB DDR3 Twin Frozr Sound Card Onboard realtek Monitor(s) Displays Samsung SyncMaster 24" P2450 + Samsung 20" 2033 Screen Resolution 1920 X 1080 and 1600 X 900 (#2 system 1440 X 900) Keyboard Gigabyte USB keyboard Mouse Microsoft wireless laser mouse 5000 PSU Corsair 750 HX Modular Case Lancool PC-K62 Cooling Cooler Master TX3 CPU cooler and 4-140mm and 1-120mm case Hard Drives Patriot Inferno 120GB SSD + 3 WD Blue 640GB drives Internet Speed 7 Mb down 1.5 up Other Info System #2: AMD Phenom II X6 1055T (Freezer 7 Pro cooler) - Gigabyte 880GMA-UD2H - WD 500GB Black - 9500GT (1GB) 500W OCZ modular PSU - Antec 200 case. System #3 (LapTop) Core 2 Duo T6670 - 320GB 7200RPM HD - 4GB DDR3 RAM. |
20 Oct 2009
|
#10 | | |

Quote: Originally Posted by fakeasdf This is good information to know! I'm surprised prefetch is disabled tho, it seems even with the rocking speeds of SSD's, RAM speeds still destroy them when it comes to transfer rates, especially due to the SATA 2 controller limits. I guess maybe it's a minuscule gain and not worth letting your system worry about it? I dunno.. Prefetch is not the same thing as superfetch. I'm guessing you're thinking of the latter.
Prefetch is essentially a disk optimisation mechanism. It monitors which fragments of which executable files are commonly used together, and then causes them to be laid out next to each other on disk, even if it means the layout doesn't make much sense to the casual observer.
(Incidentally, that's why 3rd-party non-prefetch-aware disk defraggers can sometimes mess up the on-disk layout and slow things down, but that's a different story.)
SSDs have extremely low seek times and no rotational delay, so access times are uniform irrespective of "where" on the disk a particular fragment is to be found; in fact, "where" is almost non-sensical when using an SSD. Prefetch therefore loses its main raison d'etre. (There is another one, but it's minor and too involved to explain.)
Superfetch is a predictive RAM pre-population thing. Instead of having unassigned RAM stay totally useless, superfetch fills it with stuff it thinks might be useful in the near future, based on past observation of that machine's usage patterns. No direct link to the disk or to prefetch. They just like using silly names | My System Specs | | System Manufacturer/Model Number Multiple machines in various stages of decomposition. OS Win7x64 Prefetch and SSDs problems? All times are GMT -5. The time now is 03:56 PM. | |