From owner-freebsd-questions Mon Nov 26 8:59: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.atkielski.com (ASt-Lambert-101-2-1-14.abo.wanadoo.fr [193.251.59.14]) by hub.freebsd.org (Postfix) with ESMTP id B6FC437B405 for ; Mon, 26 Nov 2001 08:58:59 -0800 (PST) Received: from contactdish (win.atkielski.com [10.0.0.10]) by freebie.atkielski.com (8.11.3/8.11.3) with SMTP id fAQGwvH00992 for ; Mon, 26 Nov 2001 17:58:58 +0100 (CET) (envelope-from anthony@freebie.atkielski.com) Message-ID: <00e201c1769b$a36bbd40$0a00000a@atkielski.com> From: "Anthony Atkielski" To: "FreeBSD Questions" Subject: Calculating swap file size Date: Mon, 26 Nov 2001 17:58:53 +0100 Organization: Anthony's Home Page (development site) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 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? I looked at the swapinfo command and it shows 0% of the swap file used (the system is not heavily loaded by any measure). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message