On Wed, 12 Aug 1998 15:31:14 -0400 (EDT), Will Lowe wrote:

>Well,  give yourself at least twice as much swap space as physical memory
>(for 64 megs of ram,  go for 128 megs of swap).  Swap should be a seperate
>partition.

    Actually, this is antiquated advice to be handing out.  On my Debian
system this is what free turns up:

[EMAIL PROTECTED]:/home/morpheus}free
             total       used       free     shared    buffers     cached
Mem:         63332      61784       1548      27160      32000      16208
-/+ buffers/cache:      13576      49756
Swap:        14328         16      14312

    14Mb of SWAP and 63Mb of RAM.  For workstations the more RAM you have,
the less you'll need SWAP.  The only time this machine has touched swap was
because of the Netscape memory leak.  So why waste the HD space for something
that is never used?

    Also, the 2x RAM rule of thumb is based on, IIRC, BSD systems which map
RAM into the swap space so to get any swap you had to make the swap partition
as large as RAM and then some.

    So, for a workstation, the lower the RAM I'd say the larger the swap. 
Something like:
RAM/SWAP
  4/32
  8/32
 16/24
 32/16
 64/16

    Servers, the rule of thumb is, what do you plan to run on the machine and
make sure your RAM/SWAP covers it.



-- 
             Steve C. Lamb             | Opinions expressed by me are not my
    http://www.calweb.com/~morpheus    | employer's.  They hired me for my
             ICQ: 5107343              | skills and labor, not my opinions!
---------------------------------------+-------------------------------------

Reply via email to