Solved

Final word on XP page file size?

Posted on 2003-11-03
12
3,376 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
ID: 9671732
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
ID: 9671748
>>>they still get warnings saying they are low!

What message are they seeing?
0
 
LVL 32

Expert Comment

by:jhance
ID: 9671752
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
ID: 9671796
>>>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
ID: 9671876
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
ID: 9671881
I guess I didn't type fast enough!
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 32

Assisted Solution

by:jhance
jhance earned 50 total points
ID: 9671973
>> 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
ID: 9673917
You might want to take a look at http:Q_20746373.html

LucF
0
 
LVL 32

Expert Comment

by:Luc Franken
ID: 9673931
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
ID: 9673945
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
ID: 9673970
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
ID: 9675031
>>> 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to fix BSOD 21 146
Trying to update or install win 7 in a win xp pc 18 112
active directory 5 55
Can’t delete a file 14 143
Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

27 Experts available now in Live!

Get 1:1 Help Now