Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2005 17:12:57 -0400
From:      Charles Swiger <cswiger@mac.com>
To:        "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: swap space
Message-ID:  <a5bf69e43c7a0bd3bc8c7b677ba24be5@mac.com>
In-Reply-To: <D1E87824-3EDF-4E57-AF92-C1BB6ED668F2@shire.net>
References:  <000601c5500e$85b4f3c0$0a01a8c0@ops.cenergynetworks.com> <20050503204542.GB10776@xor.obsecurity.org> <D1E87824-3EDF-4E57-AF92-C1BB6ED668F2@shire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On May 3, 2005, at 5:02 PM, Chad Leigh -- Shire.Net LLC wrote:
> On May 3, 2005, at 2:45 PM, Kris Kennaway wrote:
>> Since it's a pain to add swap later you want to make
>> allowances for future expansion (e.g. you'd need 32GB of swap if you
>> ever plan to add 32GB of RAM).
>
> I understand that people recommend as much swap as you have ram or 
> more.  However, is this required and why?  I have a dual opteron 
> system running i386 5.3-release (with released patches) and it has 4GB 
> RAM and only 2GB of swap, which is hardly ever touched, and when it 
> is, just in small amounts.

It's not required, but the system can't write a panic crash dump out 
unless there is slightly more swap space available than RAM in the box. 
  If your system doesn't crash, and your workload fits into RAM, having 
gigabytes of swap space set up is not very useful....

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a5bf69e43c7a0bd3bc8c7b677ba24be5>