virtual memory swap size

plug-discuss@lists.PLUG.phoenix.az.us plug-discuss@lists.PLUG.phoenix.az.us
Wed, 16 May 2001 23:29:14 -0700


> If you have 128Mb RAM what would be the optimal size to make the swap
> partition?


513M of swap.

A)  Disk is cheap.
B)  The day you start hitting swap, you'll double
    your RAM to 256M, so at that point in time
    your swap will be 2x RAM, which is generally
    a good rule.
C)  The day you start hitting swap with the 256M
    configuration, you'll double your RAM to
    512M, so at that point in time your swap
    will be RAM + 1M.
D)  DISK IS CHEAP.

So in conclusion, 1025M of swap for 128M of RAM.


HTH,

D

* On Mon, May 14, 2001 at 03:26:01PM -0700, Craig White wrote:
> Just looking to pick everyone's brain here.
> 
> If you have 128Mb RAM what would be the optimal size to make the swap
> partition?  If you are running HTTP off this machine would it matter?
> 
> How about 512MB RAM or are there hard and fast rules?
> 
> I have seen suggestions from 1MB over the real amount of RAM to 2x the real
> amount of RAM so I am unclear.
> 
> TIA
> 
> Craig
> 
> ----:----|----:----|----:----|----:----|----:----|----:----|
> - Craig White - PO Box 8634 - Scottsdale, Arizona - 85252
> - e-mail address ................ - CraigWhite@AzApple.com
> - world wide web address ........ - http://www.AzApple.com
> - e-mail my pager address ....... - 6023779752@airtouch.net
> - cellular phone ................ - (602) 377-9752
> - voice/facsimile ............... - (480) 945-8445
> ----:----|----:----|----:----|----:----|----:----|----:----|