[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: swap space size



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Gilbert, Joseph" <jgilbert@insuresuite.com> writes:

> There is an issue that I do not fully understand that I have always kind of
> taken for rote.  I was told back when I first started working with Unix that
> the swap space needed to be at least twice the size of physical memory in
> order to ensure a stable system.

Well, that used to be the rule of thumb for a Linux-specific problem
with swap space.  Today, you can run without swap without a problem.
I keep a gig of swap on hand to avoid out of memory problems at all
costs and have never hit that.

A sane default today would be to set your swap size to at least the
size of your current physical memory.  I suggest using a swap space
equivilent to the maximum amount of memory your board can support,
though this is generally considered massive overkill given how cheap
RAM is these days.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBeLDRUzgNqloQMwcRAvsTAJkBHvZzoQLX40Q9V90fJ2XgD9uagACeLQzi
lm5g8dYHlNTwwUVMjlMEr3k=
=k2L0
-----END PGP SIGNATURE-----



Reply to: