Optimizing the Page File

ADVERTISEMENTS

The page file (virtual memory) is the part of your hard drive that the Operating System uses as though it were main memory. The OS uses virtual memory when the physical memory cannot hold the data that the application requires it to. Since hard drives are much slower as compared to RAM, accessing data from virtual memory is slower and there is naturally a significant effect on system performance. Moreover, Windows XP uses the virtual memory all the time, regardless of free physical memory, so optimization of the page file is essential for a faster system.

There are two important aspects to the page file -its size and its location.

Page File size

Windows XP uses the page file dynamically, that is the page file grows or shrinks according to need. The page file is often given a minimum value and a maximum value, where the minimum value defines the guaranteed space allocated to the page file and the maximum value defines the limit to which the page file can grow. With a maximum and minimum value set, Windows XP has to resize the page file on the fly. Setting the maximum and minimum value to the same number results in more efficient handling of the page file, since Win XP won’t have to waste time resizing the page file.

Setting the size of the page file

Go to the ‘System Properties’ page. Here, go to the ‘Advanced’ tab and then select ‘Settings’ under ‘Performance’. In the window that opens, go to the ‘Advanced’ tab; towards the bottom of the tab, you will find ‘Virtual memory settings’. Click ‘Change’.

In the next window that opens, you can select the drive on which you want the page file to reside; by default, the page file resides on the C: drive. You can also see the page file size. To change it, click on ‘Custom Size’ and then key in the initial and maximum sizes to be the same. Typically, 1 GB of page file is more than enough for most users, so key in ‘1024′ as your initial and maximum page file size.

Page File Location

Keeping the page file on the same drive as the Operating System is not advised, as the page file requires intermittent read and write cycles that can significantly affect the performance of the system. Those who have only one drive can place the page file on a non OS partition.

Once in the virtual memory settings you can see all your partitions listed in the box. Select the drive on which to enable the page file, then select ‘Custom Size’, and key in ‘1024′ as your initial and maximum page file size.

banner

Search JohnTP.com or view a random post

To receive this blogs articles for FREE on your email inbox, just enter your email address below and click 'Go':

Enter your email address: or .

Find out what I am doing currently by .

6 responses so far,

  1. 1

    Andrew

    June 4, 2006 at 3:38 am

    You will actually reduce the page file performance by moving it off the main partition unless the secondary partition is on a seperate HD.

    http://mywebpages.comcast.net/.....Myths.html

  2. 2

    mj1226

    September 27, 2006 at 2:41 am

    When formatting a HD, for better performance should we increase the pagefile size? when using seagates disk starter/disk manager etc. Also when formatting a partition on windows xp. we have the option to set the page file. What is the advantage of greater pagefile size?
    And what are the safe sizes or what?

  3. 3

    mj1226

    September 27, 2006 at 2:42 am

    When formatting a HD, for better performance should we increase the pagefile size or keep it at default?
    when using seagates disk starter/disk manager etc.
    Also when formatting a partition on windows xp. we have the option to set the page file. What is the advantage of greater pagefile size?
    And what are the safe sizes or what?

  4. 4

    planckscale

    October 3, 2006 at 5:51 am

    If your pagefile has to reside on the same hard drive as your OS, and the the pagefile is either missing or damaged, I wrote up a fix for changing the name and location of the pagefile at http://planckscalepc.blogspot.com



Copyright ©2005-2008 JohnTP, All rights reserved.