wmoran at potentialtech.com
Mon Jul 5 16:27:53 PDT 2004
Lists <lists at perespim.net> wrote:
> Hello all,
> What swap size should i use having 768 Mb of memory?
> I've heard something about preformance degradation if
> swap size is bellow 2x of ram...
Other's have pointed out that you don't _need_ swap space. If you have
enough RAM, you can operate without it.
However, if you need to do kernel core dumps (in the even you run into kernel
panic problems) you will need at least as much swap space as you have RAM,
plus a little.
Additionally, if your machine ever does start to swap, FreeBSD's VM code
_is_ optimized on the assumption that you have 2x your RAM in swap. If
the machine starts to swap, you will get the best performance under all
loads (including _heavy_ swapping) if you have 2x RAM in swap.
However, FreeBSD still performs nicely with less swap than that.
More information about the freebsd-questions