Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 11:48:19 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Ken Gunderson <kgunders@teamcool.net>
Cc:        freebsd-amd64@FreeBSD.org
Subject:   Re: swap sizing
Message-ID:  <20050531113955.D91505@delplex.bde.org>
In-Reply-To: <20050530090525.246b0c35.kgunders@teamcool.net>
References:  <20050530090525.246b0c35.kgunders@teamcool.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 May 2005, Ken Gunderson wrote:

> On larger systems sporting several gigs of ram, what it the recommended
> swap scheme?  I'm aware of the 2x ram rule of thumb and also that this
> rule is considered "old school" by many.

I don't use any except on machines with <= 64MB of RAM.

> And of course that you need
> at least as much swap as ram if you want to get a full dump...

Of course not.  The dump can be written to any disk device that you don't
care about overwriting.

> But other than that it seems we pretty much don't want/need to be
> swapping at all on modern machines.  Curious what folks are doing in the
> modern world with larger systems.

Swap is still needed if you run bloatware or lots of processes.  The only
significant differences between a machine with 3*N bytes of RAM and one
with N bytes of RAM and 2*N bytes of swap are that the former costs more
and is much faster if all of the allocated (RAM+swap) memory is actually
used.

Bruce



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