Operating System - HP-UX
1826769 Members
2608 Online
109702 Solutions
New Discussion

Anyone else heard "swap must be 85% of RAM or you aren't using all of RAM"

 
SOLVED
Go to solution
S.Rider
Regular Advisor

Anyone else heard "swap must be 85% of RAM or you aren't using all of RAM"

I heard that from a contractor a month ago, but he's gone now and I can't verify where he got that information from.
Ride Boldly Ride, but watch out for El Dorado's
4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: Anyone else heard "swap must be 85% of RAM or you aren't using all of RAM"

It might be true if you don't have pseudo swap turned on.
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Anyone else heard "swap must be 85% of RAM or you aren't using all of RAM"

That's nonsense, for 11.11 and down, you needed 25% of physical memory + swapmem_on = 1 (pseudoswap enabled) to fully utilize process space. 75% of physical memory can be counted as process reservation space (pseudoswap) + 25% device or filesystem swap gets you to 100%. For 11.23 and up, the fraction goes above 75%.

I have many systems trhat have much more memory than swap and they run just fine and can fully utilize memory. I bought all that memory so that I wouldn't have to swap.

Now, if swapmem_on = 0, you can reserve no more process space than you have actual swap space (device or filesystem).
If it ain't broke, I can fix that.
Pete Randall
Outstanding Contributor

Re: Anyone else heard "swap must be 85% of RAM or you aren't using all of RAM"

Sounds like a rule of thumb from a thumbless man to me.


Pete

Pete
whiteknight
Honored Contributor

Re: Anyone else heard "swap must be 85% of RAM or you aren't using all of RAM"

Rider,

Check this documents on managing your swap space.

Estimating Your Swap Space Needs
http://docs.hp.com/en/B2355-90950/ch06s03.html

Hope this help
WK
Problem never ends, you must know how to fix it