From owner-freebsd-questions Mon Nov 26 13: 5:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-105.dsl.lsan03.pacbell.net [64.165.226.105]) by hub.freebsd.org (Postfix) with ESMTP id 747F837B405 for ; Mon, 26 Nov 2001 13:05:15 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 24D4666B27; Mon, 26 Nov 2001 13:05:15 -0800 (PST) Date: Mon, 26 Nov 2001 13:05:15 -0800 From: Kris Kennaway To: Anthony Atkielski Cc: FreeBSD Questions Subject: Re: Calculating swap file size Message-ID: <20011126130515.D17576@xor.obsecurity.org> References: <00e201c1769b$a36bbd40$0a00000a@atkielski.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="jCrbxBqMcLqd4mOl" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00e201c1769b$a36bbd40$0a00000a@atkielski.com>; from anthony@freebie.atkielski.com on Mon, Nov 26, 2001 at 05:58:53PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --jCrbxBqMcLqd4mOl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 26, 2001 at 05:58:53PM +0100, Anthony Atkielski wrote: > Since memory isn't very expensive these days, I'm thinking of adding more RAM to > my FreeBSD machine; it has 256 MB, but I was thinking of going to 1 GB, which is > the capacity of this machine. Currently, I have a 800 MB swap partition (or is > it a slice?--I know it's not a filesystem) defined. Is this enough for 1 GB of > RAM? Is there any kind of strong correlation between RAM size and swap file > size that I have to be concerned about? Does FreeBSD resort to swap only when > RAM is exhausted, or does it have to use the swap file all the time (as in a > one-to-one VM mapping scheme)? If the swap file is of less than optimal size, > what happens? The main factor when using machines with a lot of RAM is that you need to have a swap partition at least as large as your RAM size in order to obtain kernel panic dumps when things do wrong. If you can't obtain a panic dump, it's probably going to be impossible for a developer to track down any weird kernel problems you run into at some point down the line. Kris --jCrbxBqMcLqd4mOl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8Aq6KWry0BWjoQKURAoQqAJ4oHRQ4qI9bBoYS/0ZbYaW6vKO0dgCgyRWD u5xHEHH9HDtQ100OF4g27uc= =CB5K -----END PGP SIGNATURE----- --jCrbxBqMcLqd4mOl-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message