From owner-freebsd-questions@FreeBSD.ORG Tue May 3 20:45:48 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EED316A4CE for ; Tue, 3 May 2005 20:45:48 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44E9243D54 for ; Tue, 3 May 2005 20:45:48 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 94816513B6; Tue, 3 May 2005 13:45:42 -0700 (PDT) Date: Tue, 3 May 2005 13:45:42 -0700 From: Kris Kennaway To: Chris Knipe Message-ID: <20050503204542.GB10776@xor.obsecurity.org> References: <000601c5500e$85b4f3c0$0a01a8c0@ops.cenergynetworks.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <000601c5500e$85b4f3c0$0a01a8c0@ops.cenergynetworks.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2005 20:45:48 -0000 --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--