page file in RAM only

FAQ, getting help, user experience about VSuite Ramdisk
User avatar
Support
Support Team
Support Team
Posts: 3623
Joined: Sun Dec 21, 2008 2:42 am

Re: page file in RAM only

Post by Support »

We did a further test on XP sp3

It seems that the order of paging files to be increased is determined by their order in the "Pagingfiles" value at registry
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\MemoryManagement

Continue with the previous post and let's say two paging files
(harddisk) C:\pagefile.sys 20MB~1000MB
(ramdisk) Z:\pagefile.sys 500MB~1000MB

The "Pagingfiles" value will be
C:\pagefile.sys 20 1000
Z:\pagefile.sys 500 1000

The first one to be increased shall be C:\pagefile.sys when the initial 520MB is used up.

If we change the order to
Z:\pagefile.sys 500 1000
C:\pagefile.sys 20 1000

Then the first one to be increased will be Z:\pagefile.sys

Of course, as jer1956 said, System Tab control always restores the order. To prevent this, you may try the method as jmatwyko provided.
SlimShaggy
Level 2
Level 2
Posts: 5
Joined: Sat Jun 16, 2012 11:03 pm

Re: page file in RAM only

Post by SlimShaggy »

support wrote:The first one to be increased shall be C:\pagefile.sys when the initial 520MB is used up.
This doesn't seem to be exactly the case. I tried to test the pagefile usage by starting a lot of applications in the following configuration:
RAM: 4096 MB;
OS: Windows XP SP3 32 bit;
Paging files:
C: 16 - 4092 MB (physical disk);
Z: 720 - 762 MB (RAM disk using IM).
When the pagefile on C: increased to 900 MB, only 150 MB of the pagefile on Z: and 50 MB on C: were used. So it looks like Windows starts increasing the paging files well in advance, when they still very far from filling up.
User avatar
Support
Support Team
Support Team
Posts: 3623
Joined: Sun Dec 21, 2008 2:42 am

Re: page file in RAM only

Post by Support »

Did you change the order in the registry to
Z: 720 - 762 MB (RAM disk using IM)
C: 16 - 4092 MB (physical disk)
Post Reply