fortypoundhead.com

Enhance Performance by Moving the Pagefile

Posted On 2007-02-26 by FortyPoundHead
Keywords:
Tags: General Tip Windows
Views: 1475


Boost performance by moving your pagefile to a separate volume.

A significant performance gain can usually be achieved on Windows 2000 and Windows Server 2003 by moving the pagefile to a different partition or volume. By default, Windows creates a pagefile of size 1.5 x RAM and locates it on the root of the boot partition (usually C: drive). Unfortunately, this means the I/O subsystem must contend for access to operating system files (%systemroot% and %systemroot%\system32) and the pagefile (%systemdrive%\pagefile.sys), which increases disk activity and slows performance. By moving pagefile.sys to a different volume, this contention is reduced--especially if the pagefile volume is on a different hard drive with its own controller.

To move the pagefile, open the System utility in Control Panel and select the Advanced tab, click Settings under Performance, then select Advanced and click Change to display the Virtual Memory properties sheet. Moving the pagefile is a two-step process. First, create a new pagefile on the target drive by selecting the drive and specifying its pagefile settings. Then select C: and remove the pagefile there by selecting No Paging File (Windows Server 2003) or specifying initial and maximum pagefile sizes of zero (Windows 2000). You''ll be warned that having no pagefile (or a pagefile smaller than RAM) on your boot partition means that Windows won''t be able to save a crashdump file should a STOP error occur. If you''re concerned about that (no crashdump could make it harder to troubleshoot system failures) then go ahead and leave a pagefile of size RAM + 1MB on C: drive as you''ll still experience the performance gains desired. The reason is that when you have a pagefile split across several volumes, the VMM chooses the least busy drive for writing pages to disk, which in our example would mean the pagefile on E: would almost always be used since C: has a lot of system activity. And, by the way, always restart the computer after moving or reconfiguring the paging file, even if Windows doesn''t prompt you to do so. Otherwise some Windows utilities may display an incorrect value for total pagefile size.


About the Author

FortyPoundHead has posted a total of 1974 articles.


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.91.38.173

Before you can post, you need to prove you are human. If you log in, this test goes away.




Recent Forum Posts

Advanced search added
dwirch posted on September 23, 2017 at about 13:44 in Site News

Job Spammer: Gaurav Mehta - AgreeYa Solutions
dwirch posted on September 22, 2017 at about 10:35 in Spammers

Job Spammer: Prutha Siri - Javelin Systems
dwirch posted on September 10, 2017 at about 6:15 in Spammers

New security implemented
dwirch posted on September 7, 2017 at about 7:16 in Site News

Malicious IP Checker Companion Tool
dwirch posted on August 12, 2017 at about 20:24 in Site News

Job Spammer: Steve Adams
dwirch posted on August 8, 2017 at about 7:44 in Spammers