From owner-freebsd-current Mon Oct 28 19:47:01 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA21106 for current-outgoing; Mon, 28 Oct 1996 19:47:01 -0800 (PST) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA21098; Mon, 28 Oct 1996 19:46:54 -0800 (PST) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.7.5/8.7.3) id TAA00655; Mon, 28 Oct 1996 19:46:51 -0800 (PST) From: "Rodney W. Grimes" Message-Id: <199610290346.TAA00655@GndRsh.aac.dev.com> Subject: Re: Request to add this to FAQ re: swap space In-Reply-To: <199610290016.TAA00994@dyson.iquest.net> from "John S. Dyson" at "Oct 28, 96 07:16:00 pm" To: dyson@freebsd.org Date: Mon, 28 Oct 1996 19:46:51 -0800 (PST) Cc: current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk ... hate to pick nits but.... > So, to make it simple: > > swap-space = min(2*RAM, sum of the sizes of all processes); ^^^ max If you choose the ``min'' of the two above you would not get enough swap when ever ``sum of the sizes...'' > 2*RAM, which is what you really want. I think you confused this, and it would have been better written: minimum swap space = max(2*RAM, sum of the sizes of all processes); And in reality if you know ``sum of the sizes...'' you should always use that to calculate swap space. > as usual, add some space in for expansion and for process growth. Thats what ``swapon'' is for :-) :-) :-) :-) -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation, Inc. Reliable computers for FreeBSD