Show All Channels Show All Channels

There is 1 article on this title. You are reading the article ranked and rated #1 by Helium's members.

Computers & Technology   >

Operating Systems

What is prefetch?

With both Windows XP and Windows Vista, you may have noticed a folder in the Windows directory named Prefetch. Inside this folder, you will see quite a few files (up to 128 total) that have the extension of '.pf'. What exactly is prefetch and what does it do?

Prefetch files are sort of miniature index files that tell the computer what files are associated with a given program and where those files are located on the hard drive. The idea is to make programs load faster and without errors when you launch them. However, this leads to some less than correct beliefs.

One of the biggest of these fallacies is that prefetch somehow has a great impact on how fast Windows boots up. Some individuals have gone so far as to say that removing the files from the prefetch folder will speed up the computer as well as shortening the time it takes for the computer to boot up.

The fact is that prefetch files have little to do with boot speed. The computer only reads a prefetch file when the program it is associated to is launched. This means that except for the prefetch files related to programs that are set to launch on bootup, these files aren't going to be read until programs are actually started, and there will be very little impact on how fast the computer boots up.

Removing the files also won't do much to speed up the computer for a couple reasons. The first is that the prefetch file will be rewritten as soon as each program launches. If anything, it will cause a slowdown until all the files are written, so each time a program is launched for the first time after removing the files, it will take a little longer to load than normal.

Second, there are a maximum number of files allowed in the folder, and Windows automatically gets rid of older files once that maximum is reached. The files aren't large in any event, so if they have a negative impact on the amount of hard drive space that is available, it is likely that the hard drive needs to be cleaned to free up more space.

A valid question is whether prefetch really does allow programs to load faster. The answer is almost certainly yes, however with modern high speed computers, the time savings are probably going to be so slight that you wouldn't be able to tell much difference.

Still, since the prefetch files do tell the computer what components should be loaded with a given program, as well as where those components are located on the hard drive, prefetch does tend to eliminate many of the errors that were common before the prefetch folder was thought up and put into place. The old 'file not found' messages that used to be so often seen are now pretty rare, for instance.

Prefetch serves a useful purpose, and understanding that purpose isn't really difficult as long as you just remember that it is to aid the computer in opening programs.

Learn more about this author, Rex Trulove.
Contact this writer Click here to send author comments or questions.


Below are the top articles rated and ranked by Helium members on:

What is prefetch?

  • 1 of 1

    by Rex Trulove

    With both Windows XP and Windows Vista, you may have noticed a folder in the Windows directory named Prefetch. Inside... read more

Add your voice

Know something about What is prefetch??
We want to hear your view. Write_penWrite now!

Debate Icon

Cast your vote!

Which is a better Web application framework: Ruby on Rails or PHP?

Click for your side. Must be logged in.

100501

Featured Partner

Presidential Climate Action Project (PCAP)

The Presidential Climate Action Project (PCAP) has partnered with Helium, giving you the chance to write for a cause....more

What is Helium? | User Guide | Community | Link to Helium | Privacy | User agreement | DMCA

Helium, Inc.
200 Brickstone Square Andover, MA 01810 USA