Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2011 14:48:57 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Sean Hamilton <seanhamilton@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Recommended amount of swap
Message-ID:  <20110905194857.GC9801@dan.emsphone.com>
In-Reply-To: <CAL8FB_2vN-1uxUgLhB-gC%2BwqPx=jKo-88rMrDzJbJ5JPJoqNNA@mail.gmail.com>
References:  <CAL8FB_2vN-1uxUgLhB-gC%2BwqPx=jKo-88rMrDzJbJ5JPJoqNNA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.  If you have 128GB of RAM and need to swap
to disk, you desperately need more RAM, not swap :)

-- 
	Dan Nelson
	dnelson@allantgroup.com



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