From owner-freebsd-current@FreeBSD.ORG Tue Mar 2 14:19:18 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 300AA16A4CE for ; Tue, 2 Mar 2004 14:19:18 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF96343D2D for ; Tue, 2 Mar 2004 14:19:17 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i22MI7DL013669; Tue, 2 Mar 2004 17:18:07 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i22MI1f8013666; Tue, 2 Mar 2004 17:18:06 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 2 Mar 2004 17:18:01 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Bruce Evans In-Reply-To: <20040303015020.V2502@gamplex.bde.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@FreeBSD.org cc: Alexandre Sunny Kovalenko cc: Vincent Poy Subject: Re: buildworld times X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 22:19:18 -0000 On Wed, 3 Mar 2004, Bruce Evans wrote: 5.2.1-GENERIC > > > Real User Sys > > > default 2195.16 1717.69 467.78 > > > -j 2 2003.20 2151.49 539.67 > > > -j 4 1703.15 2485.99 654.00 > > > -j 6 1645.34 2595.67 718.12 > > > -j 8 1627.88 2618.15 743.53 5.2.1-ULE > > Real User Sys > > default 2191.03 1722.31 455.82 > > -j 2 1993.30 2154.71 528.67 > > -j 4 1688.14 2493.55 646.69 > > -j 6 1630.02 2597.88 706.06 > > -j 8 1617.72 2619.99 737.98 > > (gratuitous snipping) > > > (2) If we reran these tests with 5.2-CURRENT, how would the numbers > > change? > > I would be surprised if they changed much. buildworld is mostly a gcc > cpu hog benchmark, and about the only significant thing the kernel can > do to speed up gcc is to reduce its memory contention. Interestingly, on the same hardware using 5.2-CURRENT GENERIC - WITNESS, INVARIANTS, et al (with ULE since that's the default now): Real User Sys default 2304.16 1834.51 474.96 # slower -j 2 1611.61 2715.89 684.97 # faster! -j 4 1416.11 2988.32 878.40 # faster! -j 6 1399.92 3090.95 955.74 # fastest! -j 8 1405.38 3151.92 1003.69 # fasterish! Note that this was a 5.2.1 source tree built on a 5.2-current system, so isn't a perfect comparison. I should have used a 5.2.1-current world changing out only the kernel. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research