From owner-freebsd-fs Mon Mar 26 23:37:18 2001 Delivered-To: freebsd-fs@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 9948337B719; Mon, 26 Mar 2001 23:37:12 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 7F2C66A90D; Tue, 27 Mar 2001 17:07:09 +0930 (CST) Date: Tue, 27 Mar 2001 17:07:09 +0930 From: Greg Lehey To: Matt Dillon Cc: Ted Faber , "Michael C . Wu" , fs@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: tuning a VERY heavily (30.0) loaded server Message-ID: <20010327170709.E1161@wantadilla.lemis.com> References: <20010320111144.A51924@peorth.iteration.net> <20010320092717.R29888@fw.wintelcom.net> <20010320113818.B52586@peorth.iteration.net> <20010320094837.B1284@ted.isi.edu> <20010320120314.D52586@peorth.iteration.net> <20010320102156.C1284@ted.isi.edu> <200103201904.f2KJ4GP95937@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103201904.f2KJ4GP95937@earth.backplane.com>; from dillon@earth.backplane.com on Tue, Mar 20, 2001 at 11:04:16AM -0800 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tuesday, 20 March 2001 at 11:04:16 -0800, Matt Dillon wrote: >>> SWAP is never touched. :) >>> >>> last pid: 23395; load averages: 2.08, 2.92, 3.60 up 0+01:29:58 02:03:27 >>> 1529 processes:24 running, 1505 sleeping >>> CPU states: 40.5% user, 0.0% nice, 46.4% system, 1.1% interrupt, 12.0% idle >>> Mem: 705M Active, 1369M Inact, 332M Wired, 99M Cache, 265M Buf, 7504K Free >>> Swap: 512M Total, 512M Free >> >> A couple other people have mentioned that this is your swap load when >> the machine's quiet. MFS can exhaust your swap quickly, and if you >> scale these load numbers up by a factor of 10, I think you're going to >> touch swap. (Even here you're already down to 7M free mem.) > > That is almost certainly what is occuring. Since swap is otherwise not > being used much, I'm going to retract my '3G of swap' recommendation > (though if you ever repartition your disks I would still do it). > You don't need 3G of swap, the 512M is fine as long as you scrap MFS. One of the reasons this question came up is because dumps weren't enabled. If they had been, we would have seen the problem. That's why I'd recommend at least as much swap as memory, even if it doesn't get touched. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message