From owner-freebsd-fs Tue Mar 20 10:24:44 2001 Delivered-To: freebsd-fs@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id B338E37B71D; Tue, 20 Mar 2001 10:24:31 -0800 (PST) (envelope-from keichii@peorth.iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id 91F8C59289; Tue, 20 Mar 2001 12:22:45 -0600 (CST) Date: Tue, 20 Mar 2001 12:22:45 -0600 From: "Michael C . Wu" To: Matt Dillon Cc: "Michael C . Wu" , Alfred Perlstein , grog@FreeBSD.ORG, fs@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: tuning a VERY heavily (30.0) loaded server Message-ID: <20010320122245.E52586@peorth.iteration.net> Reply-To: "Michael C . Wu" References: <20010320111144.A51924@peorth.iteration.net> <20010320092717.R29888@fw.wintelcom.net> <20010320113818.B52586@peorth.iteration.net> <200103201750.f2KHopk94248@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: <200103201750.f2KHopk94248@earth.backplane.com>; from dillon@earth.backplane.com on Tue, Mar 20, 2001 at 09:50:51AM -0800 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Mar 20, 2001 at 09:50:51AM -0800, Matt Dillon scribbled: | One thing that comes to mind is that you can smarthost your outgoing | email to another host so the queues don't build up. This should | greatly reduce mail load. In fact, I would recommend offloading email | entirely if possible... email always hits disks hard. | | Definitely get rid of MFS. MFS wastes 2x the memory allocated to it. | Use a softupdates-enabled filesystem in place of MFS, or use a | swap-backed VN-based partition with softupdates enabled. | Alfred's vmiodirenable suggestion is a good one. | | With all the memory you have you can also try turning off write_behind, | e.g. setting vfs.write_behind to 0. done. :) Thank you | I don't have enough information on the type of paging your machine | is doing or the disk configuration. If you have multiple HD's, swap | should definitely be spread across at least two of them. | | A few minutes worth of 'vmstat 1' output during the heavily loaded | period would be useful, plus 'sysctl -a | fgrep vm'. I might be able sysctl -a always crashes the system. It happens on other similiarly loaded BBS'es in Taiwan. | to make suggestions on optimizing the VM system. We have 'vmstat 5' available at http://zoo.ee.ntu.edu.tw/~keichii/ Fresh hot vmstat 1 log at http://zoo.ee.ntu.edu.tw/~keichii/vmstat_1.log -- +-----------------------------------------------------------+ | keichii@iteration.net | keichii@freebsd.org | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +-----------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message