Recommended amount of swap
Dan Nelson
dnelson at allantgroup.com
Mon Sep 5 20:16:37 UTC 2011
In the last episode (Sep 05), Sean Hamilton said:
> What is the state of the art for the recommended amount of swap in
> FreeBSD? Both "normal" systems with 512 MB - 8 GB of RAM, and large
> database systems with around 128 - 256 GB.
I suggest 2x RAM for systems less than 4gb or so. Anything more than 4GB of
swap is probably never going to be used, and if it is used, you're just
going to thrash your swap device. If you have 128GB of RAM and need to swap
to disk, you desperately need more RAM, not swap :)
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-hackers
mailing list