swapfile query

Jamie Landeg-Jones freebsd-lists at dyslexicfish.net
Mon Aug 21 02:41:58 UTC 2017


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

cheers, Jamie



More information about the freebsd-current mailing list