From owner-freebsd-questions@FreeBSD.ORG Wed Jan 16 16:37:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC4C016A475 for ; Wed, 16 Jan 2008 16:37:16 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mesiob.obspm.fr (mesiob.obspm.fr [145.238.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id 710F713C4EC for ; Wed, 16 Jan 2008 16:37:16 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from localhost (pcjas.obspm.fr [145.238.184.233]) by mesiob.obspm.fr (8.13.4/8.13.4/SIO Observatoire de Paris) with ESMTP id m0GGb1Fi032292; Wed, 16 Jan 2008 17:37:01 +0100 Date: Wed, 16 Jan 2008 17:37:01 +0100 From: Albert Shih To: Dan Nelson Message-ID: <20080116163701.GV89314@pcjas.obspm.fr> References: <20080116150454.GP89314@pcjas.obspm.fr> <20080116162805.GH97708@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080116162805.GH97708@dan.emsphone.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (mesiob.obspm.fr [145.238.2.2]); Wed, 16 Jan 2008 17:37:01 +0100 (CET) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on mesiob.obspm.fr X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: How manu swap ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2008 16:37:17 -0000 Le 16/01/2008 à 10:28:06-0600, Dan Nelson a écrit > In the last episode (Jan 16), Albert Shih said: > > Hi all > > > > I known it's classic question. > > > > Long time ago when I install a FreeBSD x86 32 bits when I have N Go > > of Ram the installer take 2xN Go for the swap partition. > > > > Now I just install two machine with FreeBSD amd64 version with 8Go of > > Ram and FreeBSD installer take 4 Go of swap. > > > > Is a bug in the installer or now FreeBSD don't need 2xRam of swap ? > > When was the last time you saw your swap partition with more than 2GB > in use? On an 8GB system, you probably will either never have enough > processes to require swapping at all, or you will have one or two > processes so big that if they ever swap, it's a sign you need more RAM, > not more swap :) In systems with that much RAM, swap is pretty much > only used for crashdumps, and with minidumps enabled by default, you OK. I never need this because FreeBSD never crash....well more specific : I never see FreeBSD crash and event it's crash I not qualify to use crashdumps ;-) > don't need much. On small systems, the 2x-swap rule was because once > you allocated enough processes to require that much swap, you were > pretty much thrashing your system anyway. OK. Thanks for your answer. Regards. -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Heure local/Local time: Mer 16 jan 2008 17:35:44 CET