Computing.Net > Forums > Windows XP > Dynamic vs. Static Page File

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Dynamic vs. Static Page File

Reply to Message Icon

Name: mtlieb
Date: April 5, 2004 at 14:40:02 Pacific
OS: Win XP Home
CPU/Ram: 450MHZ/256MB
Comment:

Please don't hurt me because this question has been asked so many times before. LOL. I have in fact reviewed the previous threads on virtual memory, but am a little confused on several points:

I allowed my Tuneup Utilities program to configure my swap file for maximum performance. I have 256mb of physical ram, and it set my minimum at 384mb (1.5x) and my maximum at 768mb (3x).

I have read in several posts here that this is in fact the best way to configure it, but in other posts i have read that the only way to achieve a real performance increase is to keep it static, which i assume means that the minimum and maximum are the same value. If this is the case, would i want to set both values to 384mb or 768mb?

Thanks in advance for any insight you can provide.

Jim



Sponsored Link
Ads by Google

Response Number 1
Name: Steve Dunn
Date: April 5, 2004 at 14:46:56 Pacific
Reply:

Setting it to fixed size stops the file becoming fragmented (that's the performance gain - its not usually very significant unless pagefile becomes very fragmented). As to what fixed size should be - big enough to cope with your peak load (if you look at perfomance tab in task manager - or turn on XP's performance monitoring utility you can get an idea about this). It doesn't have to be 384 or 768 - eg, 500 might be sufficient.


0

Response Number 2
Name: per
Date: April 5, 2004 at 15:03:57 Pacific
Reply:

Normal setting is 1.5% the amount of RAM.I.E. 256 ram=384 page file.


0

Response Number 3
Name: mtlieb
Date: April 5, 2004 at 15:31:14 Pacific
Reply:

Thanks Steve and Per,

Using the Task Manager utility, my maximum load with many programs running has been 190980k. Does this mean that i could set my swap file to 384mb (1.5x) both min and max (static), and be okay?

Jim



0

Response Number 4
Name: per
Date: April 5, 2004 at 15:34:11 Pacific
Reply:

I personally let windows manage my page file. Never had a problem.


0

Response Number 5
Name: Sandman
Date: April 5, 2004 at 19:32:11 Pacific
Reply:

This is the best way I have found to set the pagefile up. Create pagefile partition on a seperate drive. Then set it as a static pf and set it to 1.5x the amount of memory you have.

Sandman

An Official Microsoft Minion. ÿ


0

Related Posts

See More



Response Number 6
Name: wanderer
Date: April 5, 2004 at 19:40:50 Pacific
Reply:

Here's the deal. Per is right, in dealing with a workstation letting windows manage its memory is best for most folks.

Now when you start talking high performance or servers its a different deal.

Microsoft, in all of their server training courses I have attended, recommend setting the pagefile static with both min and max set the same. This is for two reasons. One, as previously mentioned, is so the pagefile is doesn't fragment. Pagefile fragmentation is where the pagefile no longer occupies a single contiguous area of disk space but multiple areas of disk space. This produces time lags due to more disk io action having to read/write to multiple files. Two, is that it takes CPU cycles to expand and contract the pagefile. This is system overhead that slows the system down during these actions.

Server OS's like W2K will not allow you to run without a pagefile. But XP WILL !

There are two trains of thought here.
One is that ANY pagefile operation slows the system down. This is because memory is far faster than any disk IO [input/output]. So ideally you would run a system with no pagefile for maximum performance.

The other train of thought is "right sizing". Right sizing is where you monitor your memory usage for a period of time. You look to see what your largest virtual memory usage was, add a smigin, and set it as min and max pagefile. Usually this is Gigs to Megs less then the "standard" rule of thumb of 1.5x ram.

I apply these trains of thought to the OS's pagefile requirements. XP doesn't need a pagefile but W2k does.

Key here is plenty of physical ram. I consider for workstations 256 minimum and 1gig in server minimum [servers should be maxed to what the board will take].

So you could run your XP home with no pagefile and see how your performance is.

My system boots in 30 secs after the bios password to XP pro. I have 768meg but have been without a pagefile since I had 500meg. Runs all my games etc just fine and stable.


0

Response Number 7
Name: mtlieb
Date: April 6, 2004 at 07:56:00 Pacific
Reply:

Wanderer... great post! It makes a lot of sense to me now. Thanks everyone for all the great info. Appreciate it much.


0

Response Number 8
Name: Hugh Rhynal
Date: April 6, 2004 at 15:21:48 Pacific
Reply:

I run both my laptop and PC (both 512RAM) without pagefiles and honestly cannot tell the difference.

Suck it and see, you'll do no harm.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Dynamic vs. Static Page File

PPPoE vs Static ip www.computing.net/answers/windows-xp/pppoe-vs-static-ip/148767.html

page file partition www.computing.net/answers/windows-xp/page-file-partition/153361.html

Page file size shown vs disk space www.computing.net/answers/windows-xp/page-file-size-shown-vs-disk-space-/159080.html