From owner-freebsd-current@FreeBSD.ORG Sat Feb 28 18:42:09 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 9A72C16A4CE; Sat, 28 Feb 2004 18:42:09 -0800 (PST) Received: from oahu.WURLDLINK.NET (oahu.wurldlink.net [66.193.144.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 587B743D1F; Sat, 28 Feb 2004 18:42:09 -0800 (PST) (envelope-from vince@oahu.WURLDLINK.NET) Received: from oahu.WURLDLINK.NET (vince@localhost.WURLDLINK.NET [127.0.0.1]) by oahu.WURLDLINK.NET (8.12.9/8.12.9) with ESMTP id i1T2fcqQ092216; Sat, 28 Feb 2004 16:41:39 -1000 (HST) Received: from localhost (vince@localhost)i1T2fcu5092213; Sat, 28 Feb 2004 16:41:38 -1000 (HST) Date: Sat, 28 Feb 2004 16:41:38 -1000 (HST) From: Vincent Poy To: Robert Watson In-Reply-To: Message-ID: <20040228164010.I8264-100000@oahu.WURLDLINK.NET> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org 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: Sun, 29 Feb 2004 02:42:09 -0000 On Sat, 28 Feb 2004, Robert Watson wrote: > > On Sat, 28 Feb 2004, Vincent Poy wrote: > > > On Sat, 28 Feb 2004, Robert Watson wrote: > > > > > On Sat, 28 Feb 2004, Vincent Poy wrote: > > > > > > > > 2.5 hours seems a little high and would seem to indicate that you're > > > > > building world under a kernel that has all the debugging options enabled. > > > > > Could you make your kernel config available? > > > > > > > > Yeah, I recall that -CURRENT on a Mobile PII 366Mhz took the > > > > same amount of time so I would imagine the P4 would be faster since I > > > > remember PIII running at 800Mhz or so would take about 2 hours and the > > > > Athlon K7 at 1.2Ghz was about a little over an hour. I'm using the > > > > standard GENERIC kernel and do have the debugging options enabled. > > > > > > Turning off the debugging options (especially WITNESS) can have a dramatic > > > effect on performance. Give it a spin. :-) > > > > Besides the WITNESS and WITNESS_SKIPSPIN, do these have a big > > effect as well? > > > > options DDB > > No runtime cost, and useful if anything goes wrong :-). > > > options INVARIANTS > > Small but non-zero cost. > > > options INVARIANT_SUPPORT > > Space overhead, but other than memory overhead, no run-time cost. > > > makeoptions DEBUG=-g > > Makes your kernel build real slow, but won't change the kernel speed. > > As you point out, debugging problems is a lot easier if you run with > INVARIANTS+WITNESS. However, you may well see build times halve or more > by running without WITNESS. I always thought INVARIANTS caused slow performance as well. Ofcourse, it does seem all the stuff mentioned above is disabled in a -RELEASE GENERIC kernel so that may be it as well. Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin