NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home / News / Microsoft / Tips & Tricks

Tips & Tricks


Speed Up XP with Prefetch Settings

Work with the prefetch folder

By Dragos Jijau, Software News Editor

12th of February 2007, 16:21 GMT

Adjust text size:


The birth of Windows represented a reference point in the computer history. For the first time, users have been able to work with more applications at the same time, using the new improved system based on the windows - application symbioses. The MS-DOS was immediately rejected and everyone adopted the new operating system with visual interface.

Nowadays, Windows reached a high standard using improved techniques to optimize the application handling. More and more programs are run every day on our computer and the hunger for new applications with exciting features is getting higher and higher. A large number of programs means using a lot of resources.

In order to optimize the applications running process Microsoft developers implemented a method to speed it up using a prefetch folder. The purpose of this folder is to collect and store information regarding the installed applications and later use it to speed up loading programs.

Windows XP is configured to copy parts of applications and later, when users start the application again, it will load faster because Windows has data already available. All the data prefetched will be
stored inside the prefetch folder.

The bad part is that Windows prefetches all kind of applications even those you seldom use and this will do exactly the contrary of the main purpose. Too much prefetched data inside the prefeched folder will slow down the system.

To obtain maximum performances I recommend you to periodically check the folder and empty it in order to get rid of unwanted data located inside, which eats up space and memory with a negative implication over the system performance.

To take a look inside the folder follow this path:%systemroot%prefetch. Usually, the system root is c:Windows. Just replace %systemroot% with the correct location of your Windows folder.

Once you got inside the folder, you will be amazed to see how much content you will find. The files inside use the name of the application, some data attached and the .pf extension. Moreover, to see how old some files are, just select the detail view in windows explorer and click the date to sort the files according to the creation date.

You have the possibility to delete all the files inside or just to select the ones linked to applications that you do not use anymore. What you delete is up to you. Deleting all the files is safe, don't worry. It won't affect in any way the proper run of any application. However, do not empty the folder every day, because Windows will keep prefetching applications every time.

Setup the prefetch folder

As I mentioned in the first part of the article, Windows is trained to use the prefetch method. You can tweak the settings in order to obtain what suits you best. The settings are not available under any shortcut or options menu. You need to do a rough job editing the registry yourself.

Go to Start > Run and type Regedit. It will open the Registry Editor. Using the Editor go to this location:

HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Control>SessionManager>Memory Management>PrefetchParameters

On the right, there is a string called EnablePrefetcher. Double click on it and you will notice that the value data is set to 3. You can change this value according to the value significances and to your need:

0 - Disables the prefetch

1 - Prefetches only the application launch

2 - Prefetch the Boot

3 - Prefetch everything
Review imageReview imageReview image
Read by 22,612 user(s) | Add comment | Link to this article TWEET THIS


Article rating:
Fair (2.8/5) 22 vote(s)    

Subscribe to news | Print article | Send to friend

© Copyright 2001-2009 Softpedia
Contact:

 

 

SEARCH THE NEWS ARCHIVE :




Today's News
| Yesterday's News | News Archive


MORE RELATED ARTICLES:


Disk Management under Windows XP

How to Monitor Your Processor Activity

Is your RAM Error-less?

How To Create a Performance Alert Under Windows XP

User opinions:


Comment #1 by: Larry Miller on 20 Nov 2008, 21:07 GMT reply to this comment

This article is quite confused and contains more than a few errors. The advice presentd will not improve performance but will impair it. It is based on a complete misunderstanding of how prefetch works.

Prefetch files are used to optimize both boot and application launch times. It is important to understand that application prefetch files are referenced only when the application is launched. They are not referenced in any way at boot time. The information is obtained from previous launches and enables Windows to load the application more efficiently.

Unused or rarely used prefetch files will have virtually NO impact on performance, even if in large numbers. In any event the prefetch folder is self cleaning after 128 entries. Manual deletion of these files will deprive Windows of a valuable resource and has no benefits. All of this has been extensively tested.

The prefetch system requires that the Task Scheduler service be enabled and set to Automatic. Otherwize Windows will be unable to add to, update, or delete any file in the prefetch folder. Over time this will lead to impaired performance.

The default and optimum value for the EnablePrefetcher registry entry is 3. There is nothing to be gained by changing this value.

References:
http://home.comcast.net/~SupportCD/XPMyths.html
http://www.edbott.com/weblog/archives/000024.html
http://blogs.msdn.com/ryanmy/archive/2005/05/25/421882.aspx

Larry Miller
Microsoft MCSA


Comment #2 by: James Marks on 20 Sep 2009, 15:33 GMT reply to this comment

If prefetch automatically empties its contents after 128 entries there is no need to change its settings in the registry that runs contrary to speeding up system performance.

A fallacy I have read many times in other articles too. Thanks Larry for clearing up this widely accepted misconception.

Share your opinion:

Your Name:
Your Email Address:
(will not be used for commercial purposes)
Solve this to prove you're not a bot: =
Your review/opinion:

 




Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM