How much swap space for a 32 GB RAM system?

Erich Dollansky erichsfreebsdlist at alogt.com
Wed Jul 23 11:12:02 UTC 2014


Hi,

On Wed, 23 Jul 2014 08:45:36 +0100
Arthur Chance <freebsd at qeng-ho.org> wrote:

> On 23/07/2014 03:32, Warren Block wrote:
> > On Tue, 22 Jul 2014, RW wrote:
> >
> >> On Tue, 22 Jul 2014 10:24:13 -0600 (MDT)
> >> Warren Block wrote:
> >>
> >>> On Tue, 22 Jul 2014, Arthur Chance wrote:
> >>>
> >>>> I'm getting a new machine with 32 GB of memory. The old "twice
> >>>> physical memory" sizing seems ridiculous, so how big should I
> >>>> make swap? Do I even need swap with this much memory?
> >>>
as you have heard a lot of opinions and also found tuning, allow me to
share my experience. I am still use swap to be size double of the RAM.
The reason is simple. Disk space is cheap. You do not need a fast
device for swap if you have a lot of memory but swap makes FreeBSD
survive if memory becomes a problem. It also helps you giving you time
to fix things manually while the machine is running.

On the other side, I have had a single occasion within the last some 5
years in which a big swap helped me. So, it is really rare that you
will need a large swap partition.

Erich


More information about the freebsd-questions mailing list