Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2005 13:45:42 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Chris Knipe <savage@savage.za.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: swap space
Message-ID:  <20050503204542.GB10776@xor.obsecurity.org>
In-Reply-To: <000601c5500e$85b4f3c0$0a01a8c0@ops.cenergynetworks.com>
References:  <000601c5500e$85b4f3c0$0a01a8c0@ops.cenergynetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 03, 2005 at 08:32:54PM +0200, Chris Knipe wrote:
> Hi,
>=20
> Simple question really... Can you ever have to much swap space?
>=20
> We're sitting with quite a nifty P4 System with 1GB Ram.  We will more th=
an=20
> likely add another 2 or 3GB in the month to come as our applications=20
> (mainly perl) are consuming vast amounts of memory and swap.
>=20
> We made the mistake however of just allocating 512MB swap as we did not=
=20
> know accurately at the time of installation what the resouce requires are=
=20
> going to be (especially not that it would be this high).
>=20
> Obviously reinstalling the entire OS / Applications is not really a optio=
n.=20
> We may want to install a dedicated 40GB just for swap... Would this be=20
> advisable, or will it actually slow the system down?  And to what extend?

You can't use more than 32GB in a single device on i386.  It shouldn't
cause problems, but unless you have the expectation of making use of
it, it is wasted space.  One use is that having more swap than RAM is
necessary if you ever run into a kernel panic, so that you'll be able
to dump the image of the system for developers to try to diagnose the
problem.  Since it's a pain to add swap later you want to make
allowances for future expansion (e.g. you'd need 32GB of swap if you
ever plan to add 32GB of RAM).

Kris
--opJtzjQTFsWo+cga
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCd+L2Wry0BWjoQKURAmrHAJ4vUTm4YNeJdyEMD7IdniJwyir3bQCePC5Y
KAFLdjqn40nYs8dkxF06enI=
=kPt/
-----END PGP SIGNATURE-----

--opJtzjQTFsWo+cga--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050503204542.GB10776>