I'm not sure if Virtual Memory is even necessary these days, with so much real memory. Lots of controversy about that.
Anyhow, I have seen a recommendation before to have the swap file on its own small partition, rather than on a drive with other files.
If one is to do that, would it make more sense to have it as a NTFS partition, like the larger drives, or a FAT32 one, being just a few GB in size? Would FAT32 be faster for a swap file?
Do people still recommend having the swap file a fixed size, rather than letting it shrink and grow? Is it still recommended to have it 1½ times the size of physical memory?
Would the answers to the questions above be the same for all OSes--XP, Vista, and 7, 32 or 64 bit?
-
when your program runs out of RAM and needs to use the HD as if it were physical RAM. The bigger the RAM, the less likely it is going to happen. Hence, the bigger the RAM, the size of HD space allocated for virtual memory should be smaller, not bigger. -
Yet, common sense aside, that is what many experts have recommended for years, and they just might know something that you and I don't understand.
-----------
In any case, what about the question regarding a separate partition for he swap file--NTFS or FAT 32? -
It used to be recommended by some 3rd party defragmentation programs (Norton I think) to make the the page file a fixed size. The argument was that if you let windows manage the file size then it will keep changing and the file and drive will get defragmented. This is the same reason why some recommended to move it to a 2nd partition.
You can still do this. Use NTFS and not FAT32. It might have a minimal effect.
Putting the page file on a 2nd physical drive makes a little more sense since the operations on the page file do not effect operations on the main windows drive. However what many people did in their desktops was to use an small older driver for this. This drive would have much worse performance than the main drive which was newer.
My recommendation is that unless you have a small SSD and really need the extra few GB that you might free up. Leave everything at windows default which is to let windows manage the page file and it is located directly on c:\ -
Linux users routinely do this, so you can ask them what their rationale is in the forum below this one.
Just try not to mention Windows. It might cause an apocalypse. -
As for putting a swap file on a different partition...no. This results in your harddrive head having to do a lot more searching moving back and forth across the platter when swapping pages of memory. Another disk is one thing, but not another partition. -
Also, if one has a separate partition like that for the swap file, does it have to be a primary partition, or could it be a logical one?
But you think it best just to use the default windows-managed virtual memory, on the main drive? No performance increase from keeping it on a separate partition, fixed size, etc.? Have there been tests to determine that?
Thanks for the info.
Merry Christmas! -
davepermen Notebook Nobel Laureate
the result: no chance for a memory-related crash, ever.
only with a dynamic page file, you can have a dynamic system that sometimes can go out of bounds, and still is 100% reliable. -
which experts say that pagefiles are unnecessary.
Precisely.
Would these be the experts who write the windows desktop and server kernels? -
davepermen Notebook Nobel Laureate
at least not the experts from microsoft (a.k.a. mark russinowich, who wrote a big article about it this year, and is considered god of windows
)
-
-
davepermen Notebook Nobel Laureate
"mark russinovich page file" first hit
Pushing the Limits of of Windows
he has tons of info.
Virtual Memory Partition
Discussion in 'Windows OS and Software' started by maiki, Dec 24, 2009.