Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2011 23:58:12 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Recommended amount of swap
Message-ID:  <20110905235812.47d8e685@gumby.homeunix.com>
In-Reply-To: <20110905194857.GC9801@dan.emsphone.com>
References:  <CAL8FB_2vN-1uxUgLhB-gC%2BwqPx=jKo-88rMrDzJbJ5JPJoqNNA@mail.gmail.com> <20110905194857.GC9801@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Sep 2011 14:48:57 -0500
Dan Nelson wrote:

> In the last episode (Sep 05), Sean Hamilton said:
> > What is the state of the art for the recommended amount of swap in
> > FreeBSD? Both "normal" systems with 512 MB - 8 GB of RAM, and large
> > database systems with around 128 - 256 GB.
> 
> I suggest 2x RAM for systems less than 4gb or so.  Anything more than
> 4GB of swap is probably never going to be used, and if it is used,
> you're just going to thrash your swap device. 

but tmpfs (and swap-backed md devices) can use substantial
amounts of swap without contributing to thrashing. In some cases it
may be possible to justify larger amounts of swap.



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