TheVoice said:
Not really, because if you only have 256MB of RAM you'll end up with a smaller pagefile than someone with 2GB of RAM. Letting Windows configure the pagefile means it alters in size dynamically, and so will become more fragmented.
With 2GB of RAM, a pagefile of 1536MB works fine for me. 2048MB would also be good, but can't really see the point in going over that. Theoretically, the more RAM you have, the smaller the pagefile you need.
That's not strictly correct.
When an application is loaded, it asks for more RAM that it actually requires - the majority of this will be assigned in virtual mode (i.e. to the swap file).
Windows automatically assigns 150% of the physical memory to the swap file. If there are more requests for memory than the system actually has, XP will automatically extend the swap file (assuming that it is set to either "let windows manage" or if manually specified, it hasn't reached the upper limit). If you have a heavily fragmented volume, as the page file increases in size, the page file itself will also fragment. Depending on the level of fragmentation, this
will impact performance.
Setting the page file size on a Windows system (*nix systems memory management works in a different way to Windows) with over 512 MB of memory can take a bit of thought - what is the system being used for? In this instance it is being used for memory hungry applications - so therefore, a larger swap file is needed - bearing in mind that the memory manager is not going to use the swap file for active processes
unless it really needs to - it will assign inactive processes to it (for example the email and IM clients you also have running as well as various system processes which are not being used, but cannot be killed)
Morals of the story?
Page file fragmentation will not be an issue if you have a tidy hard disk (2 or 3 fragments really is not an issue)
The size of the page file is completely dependent on the application of the machine and a page file is better to have than not (at the end of the day - what difference does an extra couple of GB on your hard disk make?)