Twayne said:
Turn the pagefile off. Where does the kernel swap out to? Is there
someplace in memory that it uses? The whole point of a swap is to
store processes because of not enough memory.
In reality it's impossible to turn off the pagefile; if XP needs it,
it'll create one, alert you,and tell you there is a possible problem.
The trick is that you shouldn't need it to boot, set the swap, and
reboot unless you're dismally short on memory.
Usually however if all you're doing is booting, turning off the swap
file and the rebooting and turning it back on there will be no need for
anything to have to live in the swap file. If you get the error message
you might get rid of it by booting into Safe Mode insteas. Unless you
are incredibly short of RAM only incidental "might use" kinds of things
would go into the swap file and if it's turned off it doesn't seem to
matter IME.
If turning it off bothers you, setting it for a very small size, say
a couple hundred meg, would suffice too. The swap file, by its nature
will always have some low amount of negligible fragmentation. Even if
you get it 100% continguous today, it may not be tommorw. It's just the
nature of the beast.
Probably the biggest problem people run into is forgetting to click
"SET" when they make a swapfile change. Unless you click SET, whatever
you specified will not take effect.
In my own experience, I had a badly fragmented pagefile (couple
thousand, forget exact number) and only a single drive at that time on
that machine, with 512 of RAM. I defragged the drive to make as much
continguous pattern as I could, turned off the pagefile, set it off,
resterted, set the pagefile back to Windows Managed size, and it was
contiguous file. For a day or so. IIRC it's in 3 fragments right now;
no big deal & nothing to be concerned about. I'm pretty sure I had SP2
at the time.
Now I have multiple drives so it's a lot less of a problem should I
want to do that again. Have a small pf on C and the typical larger
system managed sized one on E.
Then of course there are 3rd party apps that will defrag it during a
boot process. Haven't used one but they seem to work OK for most
people. I try to minimize my use of 3rd party apps, especially if it's
somethign XP can do anyway.
Regards,
Twayne