Solved

Final word on XP page file size?

Posted on 2003-11-03
12
3,373 Views
Last Modified: 2012-06-27
I have read various guidelines on how to best set the page file size, including these, with their downsides:

-Set the low end equal to the ram size, and the high end to 2.5 times the ram size, but I'm told that this uses resources while XP manages the size.

-Set the low and high to the same number, and 2.5 the size of ram, so XP does not have to manage it.  But I'm told that the user will be in 'big trouble' if XP ever needs more.

-Set it so that XP automatically manages it, like in Win98.  I have seen Microsoft recommend this approach on their site.  But I'm told that XP will have to manage this, wasting resources.  And, after setting it this way for numerous users in real-life environments, they still get warnings saying they are low!

So what's the bottom line on the best way to manage the page file size?  To me, 'best' means that it gives maximum benefit with few downsides, and does not continue to warn the user that they've got 'problems', which worries them needlessly!
0
Comment
Question by:sasllc
  • 4
  • 3
  • 3
  • +1
12 Comments
 
LVL 44

Expert Comment

by:CrazyOne
Comment Utility
Depends on how much RAM you have how much of it is used. I set the Min and Max to the same size. This prevents it from becoming fragmented. I currentl have 1GB of RAM and I have set it the page file to 200MB's
0
 
LVL 44

Expert Comment

by:CrazyOne
Comment Utility
>>>they still get warnings saying they are low!

What message are they seeing?
0
 
LVL 32

Expert Comment

by:jhance
Comment Utility
Any setting is a COMPROMISE here.  You need to do what works BEST for your situation.  There is NO "always the best" choice here.  Otherwise, this options would not exist.

I disagree with the statement:

"-Set the low and high to the same number, and 2.5 the size of ram, so XP does not have to manage it.  But I'm told that the user will be in 'big trouble' if XP ever needs more."

First, this is not a catastrophic error.  XP, when it runs out of virtual space in the page file will fail relatively gradefully by refusing to open more apps when it gets fill.  

Secondly, you will RARELY ever have this problem on a properly configured (i.e. enough REAL RAM) XP system unless you are really abusing things.  

Thirdly, if you are pressing the limits on the pagefile, the system performance degrades itself so much that the user will generally either shutdown applications or reboot to resolve the slowness.

I usually set this to let XP manage the settings unless I KNOW that the machine will be using lots of pagefile all the time.  Then I manually configure it to a large enough value.
0
 
LVL 44

Expert Comment

by:CrazyOne
Comment Utility
>>>But I'm told that the user will be in 'big trouble' if XP ever needs more.

Not true. They would get messages warning them that the pagefile is too small. There usually isn't any big trouble just increase the pagefile. Experimentation some times is the best way to find out what works. If you want to insure less hassle then set it the size to be 3 times or more then the RAM
0
 
LVL 18

Expert Comment

by:Crash2100
Comment Utility
If you have 512MB or more, setting the swap file between 250MB to 300MB should be enough.  I have 1GB of RAM on my machine and I have the swap file set to this.

If you have less than 512MB of RAM I'd recommend that you set the minimum swap file value to 1.5 times your physical memory, and leave the default max.  If you have less than 512MB most certainly leave the default maximum value alone, because you may need that.  If you run out of physical memory and virtual memory, your computer can do nothing more than say "i can't work anymore" and crash.
0
 
LVL 18

Expert Comment

by:Crash2100
Comment Utility
I guess I didn't type fast enough!
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 32

Assisted Solution

by:jhance
jhance earned 50 total points
Comment Utility
>> I guess I didn't type fast enough!

That's for sure.  You know that I've written a program that has automatically pre-generated every possible answer to questions on EE.  So whenever a new question pops up, I just retrieve the right answer from my database and post it.  ;-)
0
 
LVL 32

Expert Comment

by:Luc Franken
Comment Utility
You might want to take a look at http:Q_20746373.html

LucF
0
 
LVL 32

Expert Comment

by:Luc Franken
Comment Utility
If you have a great amount of internal memmory (512MB+) you can add this line to system.ini

under the [386Enh] section add this line:
ConservativeSwapFileUsage=1

And see if it works for you.

LucF
0
 
LVL 18

Assisted Solution

by:Crash2100
Crash2100 earned 50 total points
Comment Utility
I didn't think windows xp even used the system.ini and win.ini files.  I thought it was all stored in the registry.
0
 
LVL 32

Assisted Solution

by:Luc Franken
Luc Franken earned 50 total points
Comment Utility
It's not all stored in the registry (thank god, otherwise there was nothing to tweak anymore;-) )

LucF
0
 
LVL 44

Accepted Solution

by:
CrazyOne earned 100 total points
Comment Utility
>>> didn't think windows xp even used the system.ini and win.ini files

These files are only used when 16bit applications are in usre otherewise they are not proccessed.

But LucF reminded me of these settings

Memory Performance Tweak
http://www.windowsxpatoz.com/cgi-bin/performance/index.cgi?answer=1036284180&id=1036282433

These Settings will fine tune your systems memory

management -atleast 256MB of ram recccomended

go to start\run\regedit -and then to the following key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

1.DisablePagingExecutive -double click it and in the decimal put a 1 - this allows XP to keep data in memory now instead of paging sections of ram to harddrive yeilds faster performance.

2.LargeSystemCache- double click it and change the decimal to 1 -this allows XP Kernal to Run in memory improves system performance alot

3.create a new dword and name it IOPageLockLimit - double click it and set the value in hex - 4000 if you have 128MB of ram or set it to 10000 if you have 256MB set it to 40000 if you have more than 512MB of ram -this tweak will speed up your disckcache

Reboot and watch your system fly
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now