From owner-freebsd-current@FreeBSD.ORG Sat Feb 28 20:25:25 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 448B216A4CE for ; Sat, 28 Feb 2004 20:25:25 -0800 (PST) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C5D343D2D for ; Sat, 28 Feb 2004 20:25:24 -0800 (PST) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) i1T4P7Nv052131; Sat, 28 Feb 2004 23:25:07 -0500 (EST) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)i1T4P6N8052128; Sat, 28 Feb 2004 23:25:07 -0500 (EST) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Sat, 28 Feb 2004 23:25:06 -0500 (EST) From: Andre Guibert de Bruet To: Vincent Poy In-Reply-To: <20040228164010.I8264-100000@oahu.WURLDLINK.NET> Message-ID: <20040228231904.B3751@alpha.siliconlandmark.com> References: <20040228164010.I8264-100000@oahu.WURLDLINK.NET> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean 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 04:25:25 -0000 On Sat, 28 Feb 2004, Vincent Poy wrote: > On Sat, 28 Feb 2004, Robert Watson wrote: > > 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. GENERIC's got enough stuff in it that you will notice a good difference in the disk footprint of the image as well as the memory image of the kernel when run. I tend to take GENERIC, strip out all of the statically compiled drivers that I don't need and add whatever options I need on the machine. >From my own tests, something as simple as "options ADAPTIVE_MUTEXES" can yield upwards of 5% compile time reduction. This number is even higher on multi-CPU machines. Regards, Andy > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ >