Re: Re: whole partition for swapfile
One massive improvement to Windows XP's performance is the page file which is also often known as a swap file or virtual memory (VM). The page file is a cache of data on the hard disk.
The page file cache is used to support the system memory (RAM). When your system memory is exceptionally low, it reverts to using the page file.
Its worth remembering that data accessed on a hard disk (no matter how fast) is very slow when compared to accessing system memory and as such your PC performance reduces when using the page file over RAM.
The more system memory your have, the less the page file is used, so installing more system memory (RAM) will also improve page file performance.
It is worth pointing out however that no matter how much memory you have in your system there will still be times when the system must use the swap file and as such you can obtain performace gains by optimizing it
You can improve your page file performance by making a partition on your hard drive for it or better yet, a separate partition on a drive other than the one that has WinXP installed on it as this additionally reduces fragmentation of the page file, which also reduces performance
As a guideline, make the swap file partition about two times the size of the amount of RAM you have.
If you already have XP set up, you can use the Disk Mangement tool to create a new partition. You can only do this if you already have multiple partitions on your hard drive (you must have administrator's rights to do this).
Open the Administrative Tools control panel.
Open Computer Management.
Expand Computer Management, then expand Storage.
Open Disk Management
Right Size the Page File
Now that your partition is set, you have to designate the size of the page file in XP.
Open the System control panel.
Click on the Advanced tab, then click the Setting button under Performance.
Under Performance Options, click on the Advanced tab.
Under Virtual Memory, click on Change.
In the Drive box, click on C: drive.
For Initial Size and Maximum Size, enter 0.
Click on Set to set the page file.
In the Drive box, click on the partition you create as the page file.
For Initial Size and Maximum Size, enter the size of your page file partition. Make the swap file partition about two times the size of the amount of RAM you have.
Click on Set to set the page file.
Click on OK.