[This followup was posted to comp.sys.ibm.pc.hardware.storage and a
copy was sent to the cited author.]
Hello-
I have two hard drives, only one operating system.
Hard Drive #1 has the Windows XP operating system on it.
Hard Drive #2 has some applications on it.
I notice that both drives have a large section (959MB) devoted to
something called pagefile.sys
Do I need this on Hard Drive #2 or is only something I need only
on Hard Drive #1 where the operating system lives?
You may want to check if both, or only one, is active. Those
swapfile sizes are rather large (how much RAM memory do you have?)
As other said, putting the swapfile on a second physical drive
might help, but wouldn't help if you have IDE drives and the two are
master/slave, as only one can talk at a time anyways. It might be
helpful if they are on different IDE channels.
To be honest, leaving a small swapfile on your OS drive would be a
smart idea. Windows can freak out and crash if it unexpectedly loses
it's swapfile. Keeping a small swapfile (64-128M) on the drive with
Windows on it can prevent problems if your second drive gets
disconnected for some reason.
As far as total swapfile size: That is a black art. Generally,
Windows seems to default to about 1.2-1.5 times physical RAM. If you
have tons of RAM, but don't run anything big, you can use a smaller
one. If you do lots of video editing or other things that use lots
of RAM, you could go 2-3 times. Going over 2G total (RAM+swap) is
probably a waste for anything outside of a server or high-end
workstation.
Some think keeping it tiny, or even eliminating it is best because
Windows won't waste time swapping things in/out of memory. I have a
dual- boot computer at work (2K/98) with 512M. I have Win98
configured with NO swapfile, and it works fine (I have some ancient
DOS software that is not Win2K friendly).