How come pagefile.sys gets fragmented across boots?

  • Thread starter Thread starter Herzl Regev
  • Start date Start date
H

Herzl Regev

How is it that pagefile.sys may need to be defragged at boot time? Way is its
state after boot depend on its state before it? I would expect it to be empty
and clean at boot time.
 
Herzl Regev said:
How is it that pagefile.sys may need to be defragged at boot time? Way is
its
state after boot depend on its state before it? I would expect it to be
empty
and clean at boot time.

The only time the pagefile can be defragged is at boot time, before
the Windows GUI starts. At boot, the page file is exactly as it was at
shutdown, unless you opt to have it cleared during shutdown. This
requires a registry change, and delays shutdown while the pagefile
is being erased..
 
I expect that if the pagefile is cleared on shutdown, then the latency at
boot will be longer. Right?

Also, Does the user part have to be defragged, or only the kernel part?
 
If you want the pagefile to be defragmented also - download 'Page
Defrag' from the Sysinternals website :

http://live.sysinternals.com/Files/PageDefrag.zip

Extract the .exe file to your Windows folder and run it.

Select 'Run on next boot' OR 'Run every boot' - set the 'Time Out' and
exit...

==

Cheers, Tim Meddick, Peckham, London. :-)
 
Back
Top