Windows PreFetch - Comments Page 2

Category: Windows




(Read the article: Windows PreFetch)

All Comments on: "Windows PreFetch"

Comment Page:  1  | 2 |  3 

Posted by:

Andrew
05 Apr 2007

Windows XP AUTOMATICALLY cleans the folder on que when the 128 limit is reached (not before) and leaves the most used 32 prefetch apps. You should NEVER delete a prefetch file for an installed application. CCleaner irresponsibly uses the NTFS last access date stamp to delete prefetch files. Do NOT use the CCleaner option to clean "old prefetch data", if you have the NTFS last access date stamp off CCleaner will delete the entire folder!

Posted by:

anders
29 May 2007

There's a flaw in the logic behind the windows prefetch.
It doesn't reduce load time, it just shifts the load time to an earlier stage (aka boot time, when you're most likely AFK getting a cup of coffee).

If it could predict what program I am about to start then that would be good, but it can't and it doesn't. It just checks what software that is started and then keeps it in the prefetch until they time out. For it to actually work it would need to track each file over time and check how frequently I call for that file to judge if it should be preloaded.

On this 3 hour old install there's 58 files in prefetch, including system services that I've deactivated, several pieces of install software and even components that I've deinstalled. The fact that I use a program once, doesn't mean that I want it prefetched. XP tries to be smart and clean out old unused entries but it takes time.

Switching prefetch off and adding firefox to autostart has lowered my morning blood pressure a lot. But I agree that you shouldn't fiddle directly with the files. Just switch it off and let it settle.

Posted by:

Vovan
10 Sep 2007

So, after reading a LOT of articles on Prefetch I can only say one thing: YOU ARE BOTH WRONG! Prefetch does pre-map the memory for the processes, so deleting it won't bring much; but when it prefetches every application you run, it cost time to load that information and slows down the kernel A LOT.

Notice, if you choose "Boot-time only" option, Prefetch will only cache the drivers(!), and all that AV and system tray soft will stay slow. If you choose "Applications and boot-time"(default) it will POLUTE. As usual.

So, long talk, short meaning, as some say, here is the solution:

1. Clean the prefetch folder.
2. Reboot, open programs u usually open- do this 5 times. Now you have the IDEAL contents for your PC.
3. Copy Prefetch'ed contents to some directory, or 7z it...
4. Write a simple CMD script:
4.1.Clean Prefetch
4.2.Copy or extract IDEAL contents to the prefetch dir.

Execute this script on every reboot or so, and voila!

Posted by:

Frank McGee
29 Sep 2007

Happened to come across this odd behavior on my home system; had multiple wifi LAN cards, and seemed that one of them in particular was mis-behaving. Attempted to uninstall the driver for the misbehaving one, and this failed. Had to go to "Safe Mode" because I couldn't delete the directory that contained the program files (under "Program Files").

Rebooted. THERES A GHOST ON MY BOX ! It's still running ! How could this be ? Looks like there's still a copy in the prefetch. Will clear the prefetch and see if it's really gone now. Bottom line - looks like this great MS software loads images of files that aren't even on the disk anymore. It isn't even sitting in the Recycle bin; it's completely gone. Yet it's memory lives on in the prefetch. So I'll clean this crap up and see if things improve.

EDITOR'S NOTE: I'd be very surprised if the problem was Prefetch. My guess is that that failed uninstall has something to do with the driver still being loaded. Let us know!

Posted by:

Stephen
01 Feb 2008

How can you stop Prefetch causing IE8 to remember the old height of an image even when the actual image height has been altered? Even if an image is rotated through 90 degrees using Paint Shop Pro and re-saved, Prefetch seems to keep the old height for IE8 to use. I deleted wscntfy.exe...pf in Prefetch when the computer was not running Windows and sometimes it worked and allowed IE8 to see the correct height, but sometimes it did not. The only way I could get IE to see the new height was to rename the folder containing the image.

Posted by:

DjLizard
08 Feb 2008

Finally, a website at the top of Google results that actually has the right freaking answer.

For those who are having issues OR want to test *properly*, do this *first*:
Start > Run... >
rundll32 advapi32,ProcessIdleTasks
(That last part is case sensitive.)
This will allow the prefetcher to clean itself out, optimize your MFT (to remove placebo speed boosts you mis-attributed to deleting prefetch entries), and anything else that has been waiting forever.

So: ProcessIdleTasks, reboot, reboot again and time this second reboot. Delete all your prefetch entries and then time it again.

Posted by:

harkpabst meliantrop
27 Feb 2008

I'd like to note, that all this applies to desktop computers. If a machine is primarily used to run an application server, just the process of monitoring used files and keeping the prefetch data could well be counter-productive. Still, this doesn't apply to the general home installation.

Posted by:

Bryan Molinelli
04 May 2008

None of this "don't delete prefetch files" advice makes much sense. Common logic: prefetch files, when combined, take up megabytes of disc space that you most likely need to use. These "trace" files are only duplicated again and again - for instance, if you use your registry mechanic/cleaning program, a registry mechanic trace file shows up in prefetch - then use it again, and a minute later there's another. What's the point? Also there's mention of Windows automatically deleting unused files from prefetch after a while. This gives Windows too much credit. I noticed after a week that almost none of the files were being automatically edited, and I run a pretty smooth ship on my computer, so I could only blame Windows. All things considered, I'd say clean out prefetch as often as possible. Your computer can run fine without the files stored there "helping" it - and you're freeing up at least a few hundred kilobytes. Not much, but every little bit counts.

EDITOR'S NOTE: Dude, the 80's are gone. Hard drives are bigger, faster and cheaper. You can get a TERABYTE drive (1000 gigabytes) for $200 now. Don't sweat the kilobytes.

Posted by:

Larry Miller
29 Jul 2008

The author is correct, "cleaning" prefetch files will impair performance. However, many responders clearly do not understand how prefetch really works. Application prefetch files are used to optimize the loading of applications, not preload them. These files are referenced only after application launch has been initiated, not at boot time. A prefetch file will NEVER cause an application to load. Rarely used or unused prefetch entries will have virtually no impact on performance.

When an application loads, the system does not load all of it into memory immediately. It is loaded only as needed and then cached for later use. This system of loading isn't particularly efficient. The prefetch system keeps track of an application's initial requirements and saves an index in the associated prefetch file. On later program loads the system is able to "prefetch" this data into cache before it is actually required, thus improving performance. But note well, none of this takes place until application launch has been initiated. Deletion of prefetch files will deprive Windows of a valuable resource.

Microsoft's use of the term "prefetch" was unfortunate. While technically true, it has caused many to misinterpret it's meaning. As a result we have the widespread "clean the prefetch" myth.

Larry Miller
Microsoft MCSA

Posted by:

WhamLlama
31 Jan 2009

How is anything in prefetch loaded before the kernel? No way! PreFetch itself obviousely relies on it. Also, people here claim faster startup time by haveing the correct (word of emphasis) files in the PreFetchand and claim to have timed it so that it is an unmistakable fact. My point is certain files should be there; most shouldn't and there should be a fairly user-friendly way to achive this. Volvan was onto something.

Comment Page:  1  | 2 |  3 

Read the article that everyone's commenting on.

To post a comment on "Windows PreFetch"
please return to that article.

Send this article to a friend. Jump to the Comments section. Buy Bob a Snickers. Or check out other articles in this category:



Need more tech support?

Search for help with computers, gadgets,
or the Internet!

 

  Search For Tech Help



Need More Help? Try the AskBobRankin Updates Newsletter. It's Free!

Prev Article:
Convert iTunes Videos to MPEG
Send this article to a friend
The Top Twenty
Next Article:
Cure For Hiccups

Link to this article from your site or blog. Just copy and paste from this box:



Ask Bob Rankin Home Page
RSS      
Subscribe to AskBobRankin Updates: Free Newsletter