In message <201708210241.v7l2ftcf073...@donotpassgo.dyslexicfish.net>, 
Jamie La
ndeg-Jones writes:
> > 3. should total swap be 1x 2x or some other multiple of RAM these days?
> 
> According to tuning(7) :
> 
> | SYSTEM SETUP - DISKLABEL, NEWFS, TUNEFS, SWAP
> |   The swap partition should typically be approximately 2x the size of
> |   main memory for systems with less than 4GB of RAM, or approximately
> |   equal to the size of main memory if you have more. Keep in mind
> |   future memory expansion when sizing the swap partition.

Generally that's the current recommendation today. It used to be 4x RAM on 
SunOS and other "early" UNIX in the 90's and as workloads became less time 
sharing oriented and more OLTP and DBMS oriented the recommendations have 
shifted to more RAM with less swap (imagine a database swapping). Typically 
this is a good starting point and generally a sound recommendation.

-- 
Cheers,
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.


_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to