Disabling the paging file
Users of computers with a large amount of RAM have the ability to stop the operating system from pushing any data out into the paging file. This will allow for the faster memory management and memory access that is physically possible for your RAM. Reading and writing directly to the RAM is always significantly faster than having to use the page file. Reading and writing to the paging file requires multiple steps and that takes time. Moreover, reading from the hard drive is nowhere as fast as reading from the RAM.
If your system has a large amount of RAM, over 1 gigabytes, then you can consider disabling the paging file. If you have less than 1 gigabyte of RAM, do not even consider disabling the paging file or else you will be running into problems.
What can happen if you disable your paging file? If you have enough RAM, then nothing. But if you do not have enough RAM, then if you run a large program such as Photoshop and are working on a large image, you will run into "out of memory" errors and the application will crash, causing you to lose all of your work. This is a pretty extreme example, but it can happen.
Basically, stick to the 1 gigabyte minimum and you will have no problems. But be aware that if you ever choose to run some memory-intensive applications, such as rendering a two-hour 3D movie, you could run out of memory easily.
So, now that I have warned you, you are ready to follow these steps to disable the paging file:
- Enter System Properties, either by right-clicking the My Computer icon on the desktop and selecting Properties or by doing the same to the My Computer icon in the Start Menu.
- Once the System Properties window has loaded, click the Advanced tab and then click the Settings button under Performance.
- Once you are in the performance options, click the Advanced tab again.
- Click the Change button that is located under the Virtual Memory section.
- This will load the Virtual Memory screen. Locate and select the No Paging File radio button, under the Paging File Size for Selected Drive section.
- Click the Set button and then click OK three times and you are finished. After you reboot, your page file will be disabled.
Feel free to delete the pagefile.sys file from your hard drive after you reboot to claim some extra few hundred megabytes of free space.
If you do not have enough RAM to disable the paging file completely, follow the directions in the next section to adjust the size of the paging file for best performance.
In this tutorial:
- Speeding Up Your Computer
- Working with the Windows Prefetcher
- The registry to optimize the Prefetcher
- Accelerate specific applications with prefetch
- Using the Intel Application Accelerator
- How well does the Intel Application Accelerator work?
- How to install Intel Application Accelerator
- Fine-Tuning the Windows Paging File
- Disabling the paging file
- Adjusting the size of the paging file
- Changing the location of the paging file
- Defragmenting Your Drive
- Defragmenting the NTFS master file table
- Adjusting Your Application Priorities
- Using Task Manager to adjust priorities
- Starting applications with a user set priority
- Using WinTasks to profile your priorities
- Speeding Up Your Network
- Disabling unneeded protocols
- Disabling a specific protocol
- Calculating settings for CableNut
- Using CableNut to adjust settings