I'm experimenting with Romex PrimoCache and learning more about different things along the way.
Leaving Primo out of the equation, I'd created my boot-system disk on SATA SSD 500GB. I tweaked the SSD as usually prescribed, and particularly to set the pagefile/swapfile to 2GB for VSS and other services that may need it.
But then, I let Windows create and manage a swapfile stored on my cached HDD. I have 16GB of RAM, but Windows puts a swapfile of 20GB on that HDD.
How much of this swapfile would be cached on the SSD eventually? Am I doing this properly?-- because it seems to work fine. I could also use part of my NVMe (caching-) SSD for a volume adequate or ample for a swapfile.
Any opinions? I don't think minimizing a swapfile helps, other than keeping it off a boot-SSD. Even my caching-NVMe-SSD or a regular SATA SSD caching-disk on two respective systems fail to show hard usage in TBW for those disks, using the respective bundled utilities for them.
And it seems the only thing you lose with a swapfile is time in boot, shutdown or restart. I don't care much about acceptable time-delays of that nature. Waking from Hibernation takes about as long as you would expect. The Hiberfil.sys I limited to the minimum 50%, since I can't put it on a storage disk that isn't also the boot-system disk.
What happens with a Windows Pagefile/swapfile on a cached disk?
-
- Level 7
- Posts: 88
- Joined: Wed Jan 11, 2017 12:57 am
Re: What happens with a Windows Pagefile/swapfile on a cached disk?
Do you mean the "swapfile.sys"? It is used for Metro/Modern apps. Usually it is around 256MB and on the system partition. I'm a little curious why your swapfile.sys is about 20GB.
-
- Level 7
- Posts: 88
- Joined: Wed Jan 11, 2017 12:57 am
Re: What happens with a Windows Pagefile/swapfile on a cached disk?
Windows Pagefile -- the one you create as "virtual memory" with amounts assigned to one or more disk.
The wisdom says for a boot SSD, pagefile should not be bigger than 2GB, but there should be something there because needed for VSS.
Since I have 16GB RAM and access other disks (cached through Primo), I let Windows create a pagefile on a cached HDD. This has been no problem. But if there are reads and writes from and to the pagefile, do they get cached?
The wisdom says for a boot SSD, pagefile should not be bigger than 2GB, but there should be something there because needed for VSS.
Since I have 16GB RAM and access other disks (cached through Primo), I let Windows create a pagefile on a cached HDD. This has been no problem. But if there are reads and writes from and to the pagefile, do they get cached?
Re: What happens with a Windows Pagefile/swapfile on a cached disk?
Yes, since version 2.5.0, paging files also get cached.