In message <77fdd002-2873-eb67-c851-0127ae314...@zyxst.net>, tech-lists
> 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?
It's better to spread the load across multiple spindles.
> 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?
Is the 4 GB on the same disk as another swapfile?
> 3. should total swap be 1x 2x or some other multiple of RAM these days?
Depends. If you're running some kind of database server or OLTP
application. Some vendors recommend no swap whatsoever while others
recommend some. What does your application vendor recommend?
> FreeBSD and the swap partition reside on the same SSD. The swapfiles, if
> created, will reside on this SSD.
Then it doesn't matter if you use one or many swapfiles and deleting the 4
GB won't make a difference. Just add the desired swap as required.
With 128 GB RAM you shouldn't be swapping anyway. If your system is you
have more serious problems than the lack of swap.
Cy Schubert <cy.schub...@cschubert.com>
FreeBSD UNIX: <c...@freebsd.org> Web: http://www.FreeBSD.org
The need of the many outweighs the greed of the few.
email@example.com mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"