In article <#(E-Mail Removed)>,
Nevermind <(E-Mail Removed)> wrote:
>(E-Mail Removed) wrote:
>> I have several questions regard defragging the pagefile on a windowsxp
>> system.
>>
>> 1) Will this help system performance or stability?
>> 2) Will using regedit to go to this key:
>>
>> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
>> Manager\Memory
>> Management
>>
>> and setting the variable "ClearPageFileAtShutdown" to 1 from Zero
>>
>> effectively defrag my pagefile every time I reboot my computer.
>>
>> 3) Will there be any side effects to doing this and if not why isn't
>> windowsxp set up this way by default?
>>
>> Thanks
>>
>> Michael
>>
>1) Yes, defragging the page file will help performance. You need a
>special application to do this, however, because a file that is in use
>cannot be moved, therefore cannot be defragmented with Windows Defrag.
>There is a free application called "Page Defrag" available which can be
>set up to defrag those unmovable files at startup.
>2) Clearing the page file at shutdown will not defragment it. In fact
>it is likely to make the problem worse because the page file will have
>to be re-created at boot up and will be placed in the first available
>space, which is not usually large enough to hold the entire file.
>The way in which I solved my problem with this was to move the page file
>to the beginning of another partition on my hard drive, so that it could
>not become fragmented.
All the commercial (i.e. $$$) defrag products will
defrag the page file. It is done during the boot process.
This great tool is still free, I think.
http://www.sysinternals.com/Utilities/PageDefrag.html
If you set page file size as a fixed min and max in control panel and
then run one of the above tools you will wind up with a page file that
never fragments. I know that XP is supposed to work best with a
variable size page file, but I did the above with NT and w2k systems
for years.
Never put a PF in a second partition. A second drive is OK
if it's on it's own channel
If XP is now a Real Operating System(tm) you should be able to put
pagefile space on all drives and the OS will always write to the drive
that has the shortest IO queue, but that may be asking to much for a
desktop system.
Actually, page file size and location are not as important as page IO
rate which TaskMan and Perfmon can measure. If your page rate is low
enough then it doesn't matter how fragmented your page file is.
--
a d y k e s @ p a n i x . c o m
Harrison for Congress in NY 13CD
www.harrison06.com
Don't blame me. I voted for Gore. A Proud signature since 2001