Discover Ukraine, Book Hotels in Ukraine


Go Back   Ukraine.com Discussion Forum > Computer Jargon Board
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 19th January 2008, 04:39
Lilly Lilly is offline
Registered User
 
Join Date: Jan 2000
Posts: 2,271
Lilly is on a distinguished road
Gaining Speed: Empty Prefetch on your XP System

A little known tweak that can help you gain some performance on your XP Professional (and Windows Server 2003) related systems is to periodically empty the prefetch folder. The prefetch folder is used to help speed up the loading of programs; XP will load programs it thinks you need before you ask for them yourself.

The prefetch folder resides on your local hard disk, under the Windows folder.

%systemroot%\prefetch

-or-

X:\windows\prefetch

Where ‘X’ is the drive letter where you have Windows installed. Either path will get you to your local system. The second path is for those who have the default installation on the most commonly used drive letter, C:\

The prefetch folder is used for speeding up your system. The way it does this is by doing the following:

Windows XP is configured to prefetch application and program components so that when you load them to memory; it appears to be very quick.
When XP does this the first time, it winds up copying portions of the program to the prefetch area of your local disk.
When XP boots up, XP will prefetch portions of the files you use the most.
XP loads all associated files, libraries, and pointers necessary to run the program in advance, the preloaded subset makes your system appear quicker.
Prefetch when unattended can also slow down your system. This is because over time

XP will retain a copy of a portion of a program in the prefetch folder even if you only use it one time, which is not good. Since you may not use the program again, you may impact the performance of your system by having portions of a program you do not use loaded in your system's memory.
XP systems with very low hardware resources (such as memory and hard disk space) will definitely be affected by an over-bloated prefetch folder.

Open and Empty the Prefetch Folder

To view the contents of your prefetch folder, you only need to open to it. You can follow the path outlined earlier to view the prefetch folder. You can use Date Created or Modified fields to attempt to figure out how old each prefetch file is, this may help you determine what can be deleted and what you may want to keep. The easiest way to do this however is to just delete the contents and then start to open and use your common programs again – XP will go back through the same process and prefetch what you need.

You'll then see the contents of a very full prefetch file as seen on this XP client:


Note:
The layout.ini file can also be deleted without a problem. *.ini files are ‘information files’ that are used by Windows to make configurations. Layout.ini contains prefetch information for XP's disk defragmentation system (defrag). Information in this file is used by the defragmenter to move programs and files on your workstation's hard drive to a more favorable location, speeding up direct read times.

Cleaning out the folder
As you can see, just like the TEMP directory on your system, the Prefetch folder can fill up with lots of unused entries and take up needed space. The folder space isn't really what you are solely worried about, it’s all this 'preloaded in memory' stuff that you are trying to avoid. Memory is priceless… it's what makes your system 'seem' fast. In reality, you load everything from your hard disk… the more memory your system has, the more the operating system will attempt to load and keep loaded in memory. You always… always want to keep this area as free and clear as possible because when it fills up – it immediately impacts the system. Paging from disk to memory and back again taxes system resources and slows down your system. As well, running out of hard disk space simultaneously puts a strain on your system's page file, which needs all available free hard disk space to accommodate 'virtual memory'. In sum, you can improve system performance by deleting files from this folder not only to keep it out of memory but to also keep it off your hard disk. This is not space that will be gained back unless you are using fewer programs now then you were at another time. An example may be if you previously used many Graphic Art tools and now you aren’t. Since these tools and their environments are so large, removing the prefetch files for these tools may claim a lot in system resources back for you.

When cleaning out your folder, you have two choices: Selective or All

You can be selective or you can mass delete everything. Ctrl + A and then Del. Gone. No problems doing it that way, again – you can regenerate what you need upon reboot and reload. You can also be very selective, although the first method is the easiest, quickest and most effective way of doing it. Remember - to delete all the files, simply select them all in Explorer and select the delete key on your keyboard. Reboot, re-launch your programs and you are back in business. Programs no longer used often will remain dormant until used again.

You shouldn't delete these files often because then your system is constantly taxed in creating file and then you deleting them. This of course will put a strain on your hard disk and leave you needing another defrag. Use this tweak sparingly, remembering it when you do spring cleaning. You can tie this into a routine when you 'delete' unused programs, go and clear out the prefetch folder… cleaning out any other temp related folders and then a scandisk and defrag. If you spend a few bucks and get a memory upgrade, your system will 'appear' much quicker. As well, you will reclaim some serious hard disk space – and clear out memory as well. Heck, you may not even need that new stick of memory after you clean out your system. So, is there anyway to modify prefetch? Yes there is.

Changing Prefetch settings
To change settings for your Prefetch folder, you may need to take a trip into the system's Registry. You can do this with Regedit.

Start => Run => type Regedit => Enter

Now that you are in the Registry, you can change the way that Prefetch behaves by making a change in the registry. This is helpful when you want to alter Prefetch or disable Prefetch completely. Low resource (memory, hard disk space, etc) systems may need this functionality disabled to get the system to run more efficiently.

When the Registry Editor Dialog box opens, navigate to this value:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters


In the right side pane, look for the key named EnablePrefetcher. The value of this key represents how Prefetch will operate.

Values you can choose from include:

0: Disable

1: Application Launch Prefetch

2: Boot Prefetch

3: Prefetch everything

Simply type the number in that you want (keep all other settings the same) and click OK. Rebooting the system will give you the new Prefetch setting.



LINK: Gaining Speed: Empty Prefetch on your XP System



__________________
LillyNomad
"Absence diminishes little passions
And increases great ones,
As wind extinguishes candles and fans a fire. "


Reply With Quote
  #2 (permalink)  
Old 19th January 2008, 22:58
stepanstas stepanstas is offline
Registered User
 
Join Date: Sep 2005
Location: Jersey City, NJ (Born In Ukraine)
Posts: 969
stepanstas is on a distinguished road
Never tried that, but it seems interesting.
__________________


Reply With Quote
  #3 (permalink)  
Old 20th January 2008, 14:49
nickcsadler nickcsadler is offline
Moderator
 
Join Date: Apr 2003
Location: Chippenham
Posts: 604
nickcsadler has a spectacular aura aboutnickcsadler has a spectacular aura aboutnickcsadler has a spectacular aura about
Is this the same as disc defrag???
__________________
John 3/16
Reply With Quote
  #4 (permalink)  
Old 20th January 2008, 16:06
stepanstas stepanstas is offline
Registered User
 
Join Date: Sep 2005
Location: Jersey City, NJ (Born In Ukraine)
Posts: 969
stepanstas is on a distinguished road
I think it is. There are probably some differences, but I gather it from this

Quote:
Note:
The layout.ini file can also be deleted without a problem. *.ini files are ‘information files’ that are used by Windows to make configurations. Layout.ini contains prefetch information for XP's disk defragmentation system (defrag). Information in this file is used by the defragmenter to move programs and files on your workstation's hard drive to a more favorable location, speeding up direct read times.
I think defrag probably does more. I would hate doing both.
__________________


Reply With Quote
  #5 (permalink)  
Old 21st January 2008, 04:21
Lilly Lilly is offline
Registered User
 
Join Date: Jan 2000
Posts: 2,271
Lilly is on a distinguished road
Quote:
Prefetch when unattended can also slow down your system. This is because over time

XP will retain a copy of a portion of a program in the prefetch folder even if you only use it one time, which is not good. Since you may not use the program again, you may impact the performance of your system by having portions of a program you do not use loaded in your system's memory.
XP systems with very low hardware resources (such as memory and hard disk space) will definitely be affected by an over-bloated prefetch folder.
I empty my prefetch folder every day because of this. I found the prefetch in the windows folder, scrolled down to the bottom and there it was. I created a shortcut to my desktop so that I can empty it easily.

Also ,I located the other temp folder which I empty regularly. I have noticed a marked difference in my computer speed.

Defrag is something completely different.


How To Empty Temp Folders
Restart the computer. Set your System to Display Hidden Files and Folders.
Note: Only delete .tmp files after a restart. Windows creates .tmp files to perform some task when you reboot. This is why after installing some programs you are prompted to reboot the computer to complete the install. Once you reboot it is safe to delete the files. If you have an Axim handheld, remove it from its cradle as well.
1. Click Start, then click Shut Down. Restart the computer.
2. Once the computer has re-started, click Start, then click Control Panel, and then click Folder Options.
o If you don't see Folder Options, click on Switch to Classic View on left side.
3. Click the View tab. Under Hidden files and folders, click Show hidden files and folders.
4. Click OK.
5. Close Control Panels.

Note: Hidden files and folders will appear dimmed to indicate they are not typical items. Usually, hidden files are program or system files that should not be deleted or changed.

________________________________________
Clear the Temporary Internet Files using a Wizard. Clear the TEMP and PreFetch folders manually.
__________________
LillyNomad
"Absence diminishes little passions
And increases great ones,
As wind extinguishes candles and fans a fire. "


Reply With Quote
  #6 (permalink)  
Old 21st January 2008, 04:51
stepanstas stepanstas is offline
Registered User
 
Join Date: Sep 2005
Location: Jersey City, NJ (Born In Ukraine)
Posts: 969
stepanstas is on a distinguished road
Well this reminds me then. Speaking of programs that clean up your computer and are free, I would recommend CCleaner to anyone.

Its great and with it you can clear Application/Windows data (you can select what you want to delete). You can clean up your registry (ex. if you have extentions associated with a program, but you uninstall the program, it still stays in registry. This program cleans it up. It also includes an Uninstalled which i prefer over the Windows uninstaller. And a startup controller.

CCleaner - Home
__________________


Reply With Quote
  #7 (permalink)  
Old 21st January 2008, 16:47
Lilly Lilly is offline
Registered User
 
Join Date: Jan 2000
Posts: 2,271
Lilly is on a distinguished road
Winferno Registry Power Cleaner is also a good one and very cheap. I would rather spend $20 than risk all the spyware and spam.
__________________
LillyNomad
"Absence diminishes little passions
And increases great ones,
As wind extinguishes candles and fans a fire. "


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump



All times are GMT +1. The time now is 06:44.


Airplanes | Algeria | Auto Racing | Bangladesh | Birds | Morocco | Nepal | Nicaragua | Puerto Rico | Scotland | South Africa | Stock Markets | Russia | Virtual Countries

All Rights Reserved © 1995 - 2007 | NewMedia Holdings, Inc. This site is operated under license to Paley Media, Inc. which is solely responsible for its content. This site is not affiliated with any government entity associated with a name similar to the site domain name. All trademarks and web sites that appear throughout this site are the property of their respective owners.

About Us | Privacy Statement | Terms of Use | Contact Us | Guestbook | Dating | Postcards | Trade | Advertising | Affiliates | Metrics | Sitemap

Ukraine.com - The Guide to Ukraine

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC4 © 2006, Crawlability, Inc.