From owner-freebsd-hackers Tue Jul 9 0:35:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CE9037B400 for ; Tue, 9 Jul 2002 00:35:35 -0700 (PDT) Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 219EE43E09 for ; Tue, 9 Jul 2002 00:35:35 -0700 (PDT) (envelope-from bandix@geekpunk.net) Received: from dallben (pcp529856pcs.nash01.tn.comcast.net [68.52.131.181]) by mtaout03.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 13 2002)) with ESMTP id <0GYZ008GS13917@mtaout03.icomcast.net> for freebsd-hackers@FreeBSD.ORG; Tue, 09 Jul 2002 03:35:34 -0400 (EDT) Date: Tue, 09 Jul 2002 02:35:33 -0500 (CDT) From: "Brandon D. Valentine" Subject: Re: swap & huge mem systems In-reply-to: <200207090527.g695R23C049724@apollo.backplane.com> X-X-Sender: bandix@dallben.homeportal.2wire.net To: Matthew Dillon Cc: David Schultz , Terry Lambert , Erik Trulsson , Chuck Robey , FreeBSD Hackers List Message-id: <20020709023121.X11678-100000@dallben.homeportal.2wire.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 8 Jul 2002, Matthew Dillon wrote: >:Thus spake Terry Lambert : >:> Erik Trulsson wrote: >:> > Minimal swap if you want to be able to catch core dumps: Physical RAM >:> > size + 64K >: >:I've caught many core dumps with swap == RAM. Am I just getting >:lucky, or am I losing 64K of the image? >: >:> Crash dumps good. >: >:I beg to differ. ;-) > > You only need as much as physical ram. e.g. 1G of ram, 1G on the > dump device (which can be the swap partition). Allocating swap = physical RAM doesn't buy you any expansion though. I always try to do at least twice physical RAM so that if I ever double the RAM in my machine I'm still able to catch crash dumps. It's not worth having to repartition the drive to add more swap every time I add more RAM when a 120GB 7.2k drive is ~$170. What's 2GB of swap on a 120GB disk or even a 40GB disk for that matter? Brandon D. Valentine -- http://www.geekpunk.net bandix@geekpunk.net ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message