Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2017 16:00:28 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-current@freebsd.org
Subject:   swapfile query
Message-ID:  <77fdd002-2873-eb67-c851-0127ae3141b6@zyxst.net>

next in thread | raw e-mail | index | archive | help
Hello list,

(freebsd-current is r317212 on this machine)

I have a machine with 128GB RAM. When 12-current was installed, for some
reason the swap partition was set to 4GB. I see sometimes via top and
also via daily status reports that sometimes the machine runs out of
swap. It doesn't crash the machine though.

I know how to add more swap with a swapfile. My questions are:

1. should I make more than one swapfile, say 4x32GB or will it be ok
with one 128GB swapfile?

2. will the 4GB already there as swap play nice with a swapfile, or
multiple swapfiles? Or should I deactivate the 4GB swap partition first?

3. should total swap be 1x 2x or some other multiple of RAM these days?

FreeBSD and the swap partition reside on the same SSD. The swapfiles, if
created, will reside on this SSD.

thanks,
-- 
J.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77fdd002-2873-eb67-c851-0127ae3141b6>