swap rules.



Hi managers.

What are the general rules for sizing swap on current systems?
As cheap as memory is getting these days the newer systems we are playing
with have 32 or 64GB ram.
Back in the day when memory was expensive, a 2:1 Swap partition size to
RAM ratio was pretty normal.
Then It was 1:1 as memory has gotten cheaper.
Is it still a good practice to do 1:1 to allow for huge core dumps on a
crash?
Or is 1:1 Swap:RAM a disappearing standard too because swap isn't used
much anymore?

I'd be curious to hear from admins that run systems with under 128GB ram
and admins that run really large memory sun boxes too... how do you handle
swap on systems with a bunch of RAM?

I'll summarize what I get back...

Thanks all!
Dean Ross-Smith
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Re: OT (slightly) swap limits
    ... influence your decision on how much swap was enough. ... processes due to lack of memory. ... I've run machines with 1Gig or more RAM with NO SWAP. ... Linux possible when before on Unix it wasn't? ...
    (Debian-User)
  • Re: fedora-list Digest, Vol 10, Issue 167
    ... Well, I have two 433 MHz Celerons and 288 MB RAM, and no performance ... > The memory usage is always around 400MB. ... I'd like to introduce you to the vmstat command. ... > I know that SWAP should be double the Physical RAM but I don't have ...
    (Fedora)
  • Re: How to set up a Linux machine that occupies the minimum memory footprint ?
    ... >> memory and hence causes the kernel to 'thrash' thus slowing down the ... 4GB physical RAM + 4GB swap area) the application will think that it can ... You've said in another message that your app is ...
    (comp.os.linux.setup)
  • Re: How to set up a Linux machine that occupies the minimum memory footprint ?
    ... >> memory and hence causes the kernel to 'thrash' thus slowing down the ... 4GB physical RAM + 4GB swap area) the application will think that it can ... You've said in another message that your app is ...
    (comp.os.linux.misc)
  • Re: FreeBSD data size tuning
    ... It seems there is a memory issue in 4.9 where they adapted 5.x things ... RAM and using 2500MB of swap on ide disk, ... With 1GB of RAM you should be able to run squid without any ...
    (freebsd-performance)