Has someone written (or is aware of) an instruction guide for setting up a RAMDisk and using it for pagefile.sys?

Solution 1:

You can easily disable the page file. Jeff Atwood blogged about disabling it and the consequences. In any case, moving it to a RAMdisk is the worst thing you could do with it, since the page file is for storing stuff that already doesn't fit in memory. Reserving memory for a RAMDisk is going to only make more data get paged out, which will in turn require a larger paging file and RAMDisk, which will in turn leave less memory available, which will in turn page out more mem-- You can see where this is going.

Solution 2:

Having a RAM disk for your pagefile defeats the whole purpose of having RAM in the first place.

The pagefile is used to page out memory pages to make room for other programs. Setting a RAMdisk for the pagefile just uses RAM that the Memory manager could use, instead of paging them out. . .

It's like towing another car so you can use that second car to drive farther. . .