From owner-freebsd-stable Tue Jul 24 12:13:54 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mikea.ath.cx (okc-65-26-223-53.mmcable.com [65.26.223.53]) by hub.freebsd.org (Postfix) with ESMTP id 8DD1D37B403 for ; Tue, 24 Jul 2001 12:13:47 -0700 (PDT) (envelope-from mikea@mikea.ath.cx) Received: (from mikea@localhost) by mikea.ath.cx (8.11.4/8.11.1) id f6OJDkU06369 for freebsd-stable@FreeBSD.ORG; Tue, 24 Jul 2001 14:13:46 -0500 (CDT) (envelope-from mikea) Date: Tue, 24 Jul 2001 14:13:46 -0500 From: mikea To: freebsd-stable@FreeBSD.ORG Subject: Re: question about wc on for NON-critical workstation (no flamebait) Message-ID: <20010724141346.A5878@mikea.ath.cx> References: <20010724180907.A71575@dogma.freebsd-uk.eu.org> <3B5DAECF.E9FE622D@mitre.org> <3B5DB1FA.1B894F9E@urx.com> <20010724184624.B71800@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20010724184624.B71800@dogma.freebsd-uk.eu.org>; from jcm@FreeBSD-uk.eu.org on Tue, Jul 24, 2001 at 06:46:24PM +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 24, 2001 at 06:46:24PM +0100, j mckitrick wrote: > On Tue, Jul 24, 2001 at 10:35:54AM -0700, Kent Stewart wrote: > | My buildworld on a dual 866 coppermine system went from 42 minutes to 29 > | minutes. The other side effect was the -j8 parameter finally did > | something. Before that anything from -j2 on, actually made the > > I thought over -j2 was not recommended, and often broke? The recommendation I've seen is two jobs per processor. In Kent's case and mine, with dual processors, we could run with -j4 and not exceed the recommendation. Im practice, I find that -j8 (four jobs per processor, on average) works very handily in almost all cases. From time to time, a job will require a module that hasn't been built then by another job running in parallel, but a rerun of the make generally succeeds. > | buildworld run longer. I think the cpu's were starved for I/O. The > | system is built around 3-ATA-100 Maxtor 30GB HD's. The motherboard is a > | VP6 and each HD is on its own controller. Using raid-0 also slowed the > | compile down. > > A far cry from my little laptop. ;-) My box isn't quite the horse that Kent's is, but I have noticed a significant speed increase with -j8 over -j4, even with two 30GB ATA-66 HDs. I think I'll turn on write caching and live dangerously for a while. -- Mike Andrews mikea@mikea.ath.cx Tired old sysadmin since 1964 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message