From owner-freebsd-current Mon Nov 3 23:54:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA21008 for current-outgoing; Mon, 3 Nov 1997 23:54:36 -0800 (PST) (envelope-from owner-freebsd-current) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA21002 for ; Mon, 3 Nov 1997 23:54:33 -0800 (PST) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.7/8.8.5) id CAA00612; Tue, 4 Nov 1997 02:54:07 -0500 (EST) From: "John S. Dyson" Message-Id: <199711040754.CAA00612@dyson.iquest.net> Subject: Re: More on fast make world... In-Reply-To: from Simon Shapiro at "Nov 3, 97 10:07:38 pm" To: Shimon@i-Connect.Net (Simon Shapiro) Date: Tue, 4 Nov 1997 02:54:07 -0500 (EST) Cc: freebsd-current@FreeBSD.ORG Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Simon Shapiro said: > I really am not so sure what takes the time, but it is not disk I/O. > > I setup a test machine with 128MB of RAM, a RAID-1 root disk, a RAID-0 > 8x32KB stripes wide for /usr/src and /usr/obj, on a DPT PM3334UDW (Ultra, > wide, differential). Disks are 4GB Barcudas all around. > > This configuration is capable of 980+ disk I/O per second on the RAID-1 and > 1740+ on the RAID-0 array. > > Starting with a fresh install, SMP kernel current for today, DPT configured > with no options, but the performance monitors and a 1 sec timeout hack to > catch lost interrupts (new firmware that may be a bit buggy). > > Top reports (abbreviated): > > load averages: 7.36, 6.59, 5.06 > CPU states: 54.1% user, 0.0% nice, 44.4% system, 1.6% interrupt, 0.0%idle > Mem: 11M Active, 17M Inact, 23M Wired, 47M Cache, 8248K Buf, 26M Free > > Iostat says: > > tty sd0 sd16 cpu > tin tout sps tps msps sps tps msps us ni sy in id > 0 1905 771 74 0.0 668 56 0.0 27 0 51 2 20 > > This is typical over the last hour or so. Anything else I should try? > Try increasing the size of the vnode cache: sysctl -w debug.wantfreevnodes=15000 Make sure you are using -pipe, if not, then use MFS for /tmp or wherever your tempfiles go... -- John dyson@freebsd.org jdyson@nc.com