From owner-freebsd-questions Wed Jul 31 12:48:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8204B37B400 for ; Wed, 31 Jul 2002 12:48:46 -0700 (PDT) Received: from spin.web.net (spin.web.net [192.139.37.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EFBD43E4A for ; Wed, 31 Jul 2002 12:48:45 -0700 (PDT) (envelope-from rob@web.net) Received: by spin.web.net (Postfix, from userid 1000) id 3609612E625; Wed, 31 Jul 2002 15:48:42 -0400 (EDT) Date: Wed, 31 Jul 2002 15:48:42 -0400 From: Rob Ellis To: freebsd-questions@freebsd.org Subject: Re: 1GB ram, how much SWAP? Message-ID: <20020731194842.GL22253@web.ca> Mail-Followup-To: Rob Ellis , freebsd-questions@freebsd.org References: <20020731171728.GH22253@web.ca> <87u1mfk9me.fsf@pooh.int> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87u1mfk9me.fsf@pooh.int> User-Agent: Mutt/1.3.28i 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 found a recent thread on this in freebsd-hackers: http://www.FreeBSD.org/cgi/search.cgi?words=swap+huge+mem+systems&max=50&sort=score&index=recent&source=freebsd-hackers the consensus seems to be that if you want to be able to get crash dumps, you need a single partition == to your memory, which doesn't need to be a swap partition (if you have an old disk online, you don't want to use it for swap because it's slow, but it's ok for dumps); if you plan to add memory, you should start with more swap. nothing mentioned about efficiency of memory usage, it would be interesting to know more about that... i think if there are problems with a machine crashing, it wouldn't be hard to put an old ide drive in it, and configure for crash dumps. in the meantime, 1GB ram + .5GB swap still seems like lots? - rob On Wed, Jul 31, 2002 at 01:58:17PM -0500, Kirk Strauser wrote: > > At 2002-07-31T17:17:28Z, Rob Ellis writes: > > > if you have a gigabyte of ram, does the 2 x ram calculation for the swap > > partition (from the fbsd handbook) still make sense? thanks. > > IANA kernel hacker, but I've read that you should allocate at least twice > the amount of RAM for the main reason that FreeBSD's VM system is optimized > for that amount. It will still run with less swap, but it will use > less-optimal algorithms and/or settings. > -- > Kirk Strauser > The Strauser Group - http://www.strausergroup.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message