Although quite possible, and at first sight a good idea, in practice it is
not such a good idea. The swap file holds extra data that 'overflows' from
your system RAM. If you put your swap file into ramdisk, this ramdisk has
to come out of your - well - system RAM. Thus your system would run with
the restrictions on useage as if you had no swap file at all, but slower due
to the shuffling between the two divisions of your system RAM.
If you were thinking of adding memory for the swap file space, then the
system will still run faster if you allocate all that memory as system RAM
and put the swap file on the hard disk.
I agree with everything you say up to here.
If you have multiple disk drives,
the swap file should always be on the fastest drive.
Not necessarily. A faster drive is of course better, but it's also
important to realize that the slowest aspect of using the page file is
moving the heads to and from it. For that reason, putting it an the
most-used partition of the least-used physical drive is normally best,
since it minimizes such head movement..
If it were my system and I had multiple physical drives with different
seeds, I'd probably try it both ways, but I'd bet on the least-used
drive giving better performance than the fastest drive..
If you are really after the fastest possible system then, in spite if
Microsoft's dire warnings of doom and destruction, use a fixed size swap
file that is the largest size it is likely to be
A fixed page file size doesn't hurt, but it wastes disk space. Making
the minimum small and the maximum large is just as good.
(as a rule of thumb, I
always go for double the RAM size, but others may have their own view).
No multiple of the amount of RAM you have is a good setting. In fact
the more RAM you have, the *less* page file you need.
The best info on the page file is in this article by the late MVP Alex
Nichol: "Virtual Memory in Windows XP"
http://aumha.org/win5/a/xpvm.php
One remaining point: in these days of low RAM prices, many people have
enough RAM so that page file usage is minimal. For that reason, all
considerations about where to put it, how big to make it, etc. are
much less significant than they used to be.