From owner-freebsd-questions Mon Oct 13 18:45:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA10839 for questions-outgoing; Mon, 13 Oct 1997 18:45:47 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA10832 for ; Mon, 13 Oct 1997 18:45:41 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id LAA01871; Tue, 14 Oct 1997 11:15:27 +0930 (CST) Message-ID: <19971014111527.45005@lemis.com> Date: Tue, 14 Oct 1997 11:15:27 +0930 From: Greg Lehey To: amora@zoom.es Cc: questions@FreeBSD.ORG Subject: Re: Memory and swap size. References: <199710131430.QAA15481@silvester.zoom.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <199710131430.QAA15481@silvester.zoom.es>; from Jesus A. Mora Marin on Sun, Oct 12, 1997 at 09:06:01PM +0000 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, Oct 12, 1997 at 09:06:01PM +0000, Jesus A. Mora Marin wrote: > Hi! > > I have recently increased the RAM of my system from 16 to 32MB. The > only swap partition in my FreeBSD slice is 48 MB. > > It's a generally accepted rule of thumb that the swap size should be > at least twice the memory size, so this is not my case now. > > The questions are: > a) What are the possible negative consequences of not fulfilling this > recommendation? You might run out of swap. If you haven't changed your habits, it's not very likely. > b) I have automated the dumping of the system in case of panic, using > the swap partition as the dumpdev. Luckily, I haven't seen this > yet for almost two years, after fixing some problem with an CD-ROM > drive. Then, performing an postmortem debugging proved to be > helpful, so I don't want to disable this feature. Can I get into > trouble if a panic happens now? No. You need at least as much swap as memory in order to dump. Even if you don't have enough swap space, the system doesn't dump. Greg