From owner-freebsd-performance@FreeBSD.ORG Wed Apr 30 16:32:14 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B93AD37B401 for ; Wed, 30 Apr 2003 16:32:14 -0700 (PDT) Received: from walter.dfmm.org (walter.dfmm.org [209.151.233.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DBD343F85 for ; Wed, 30 Apr 2003 16:32:14 -0700 (PDT) (envelope-from jason@shalott.net) Received: (qmail 24497 invoked by uid 1000); 30 Apr 2003 23:32:10 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 30 Apr 2003 23:32:10 -0000 Date: Wed, 30 Apr 2003 16:32:09 -0700 (PDT) From: Jason Stone X-X-Sender: To: In-Reply-To: <3EB05582.297F50AE@lbl.gov> Message-ID: <20030430162823.I4074-100000@walter> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: SWAP size X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2003 23:32:15 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > If you have a lot of memory and you are able to control all processes > not to overrun the system memory, 0.5 - 1x swap is OK; you need some > swap space to back up yourself in case something happens. That is why > 2x is recommended; but not required if this is not a server. > > For server, 2x may be required, and typically 2.5x is needed. Also remember that crash-dumps get written to swap, so if you want to be able to take a dump in the event of a panic, you need at least as much swap as physical ram. Since crash-dumps are usually a good idea (or at least the ability to take a dump if your system starts acting strangely), I think you should never have less than 1x ram on a production system. -Jason -------------------------------------------------------------------------- Freud himself was a bit of a cold fish, and one cannot avoid the suspicion that he was insufficiently fondled when he was an infant. -- Ashley Montagu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) Comment: See https://private.idealab.com/public/jason/jason.gpg iD8DBQE+sFz6swXMWWtptckRAsFIAJ47vP344lTYuN4fP5w0/kosWbEz1wCdG1i6 NprsPd0En9cOzYjOL3scKXE= =Zxe3 -----END PGP SIGNATURE-----