First, let's look at what is the swap file, as it helps to increase the speed of the computer and why you may need to increase the paging file.You probably know that computer memory stores data and commands that need the CPU to perform certain operations .When the load on working memory is too large (for example, you try to work in several intensive applications), it is no longer "cope" with volume of information.Here comes in the swap file.
Some fragments of memory (often - inactive) are moved from RAM to the hard disk in the paging file (pagefile.sys).Thus the RAM is released for more important fragments of memory, and less important, if necessary loaded from the hard disk.The process is called paging memory swapping , and he is sometimes called the swap file swap file or swap file .
If the load is large, and the paging file is too small, the computer may start to slow down and hang.Must either reduce the load (which is not always possible), or increase the swap file.Do not be afraid, for this you do not have to go into the registry, or perform the manipulation of the command line. Change the paging file size can be by using standard Windows .
In Windows XP to do this, click the Start button, then select Settings, and in it - Control Panel.In the panel select System.System Properties window opens, it is necessary to select the Advanced tab, find it, and under Performance click the Settings button.Performance Options window opens.It is necessary to go to the Advanced tab, find the Virtual Memory section and click on the Edit button.Opens virtual memory;Drive section of this window you need to select the drive for the paging file.Section file size for selected drive, set one of the switches:
- Custom size - the size of your choice (starting and maximum).
- size selectable system - the operating system automatically sets the optimal file size.
- No paging file - the swap file will not be used.
Click on the Set button, and then - OK in each of the open windows.
To increase the swap file in Windows Vista / 7 also need to go to the Control Panel (Start - Control Panel), select System in the left menu and select Advanced System Settings.Then the sequence of actions is the same as in Windows XP.But be careful: some items may be called a little differently (For example, the size of the place of particular size).
But to improve the responsiveness of the system is not enough to increase the paging file - you need to do it wisely, ie, optimize swap file .How to do it correctly?
- optimal paging file size in two or three times the amount of RAM.
- If your PC has multiple hard drives (not partitions, namely disk), a swap file should be placed on the disk:
- different from the disk to the system;
- least busy reading and writing of information (most rarely used);
- having the highest speed read and write information;
- having the largest amount of free space (if the disk space for the swap file remains "butt", it is not necessary to place it there).
- If you have one hard drive partitioned, it is best to place the file on the section closest to the section with the system (for example, the system is on the C drive, then you need a swap file on the disk D).
- Do not disable the swap file if you have Windows Vista / 7 as well as if you have Windows XP, and the amount of RAM is less than 1GB.
- Set the initial paging file size to the maximum.
But note that swap file can not replace RAM , because the speed of reading data from the hard disk is smaller than RAM.So sometimes just is not enough to increase the paging file.If after increasing the swap file system is not running faster, it is necessary to increase the amount of RAM.