Swap size

Robert Huff roberthuff at rcn.com
Fri Aug 17 08:26:28 PDT 2007


Andy Greenwood writes:

>  And the system is under normal load. This system has 1G of
>  RAM. Is there any sense in having this much swap space when it's
>  not being used?

	1) It is - usually - better to have it and not need it, than
need it and not have it.
	2) While some machines have a very predictable working set of
programs, others vary very widely.  Trying to compute the "right"
value is an exercise in futility.
	By default, I use the "2x current or expected memory" rule
split over as many physical disks as possible.


				Robert Huff


More information about the freebsd-questions mailing list