From owner-freebsd-current@FreeBSD.ORG Fri Dec 2 22:37:17 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49851106564A; Fri, 2 Dec 2011 22:37:17 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 1FCF38FC15; Fri, 2 Dec 2011 22:37:17 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.5/8.14.5) with ESMTP id pB2MbGpN035196; Fri, 2 Dec 2011 14:37:16 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.5/8.14.5/Submit) id pB2MbGIN035195; Fri, 2 Dec 2011 14:37:16 -0800 (PST) (envelope-from sgk) Date: Fri, 2 Dec 2011 14:37:16 -0800 From: Steve Kargl To: Max Khon Message-ID: <20111202223716.GA35140@troutmask.apl.washington.edu> References: <20111202015133.GA4111@dragon.NUXI.org> <20111202064132.GC88903@troutmask.apl.washington.edu> <4ED8776F.9060301@FreeBSD.org> <20111202072349.GA89183@troutmask.apl.washington.edu> <20111202083501.GA73959@dragon.NUXI.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Doug Barton , freebsd-current@freebsd.org Subject: Re: WITHOUT_PROFILE=yes by default X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 02 Dec 2011 22:37:17 -0000 On Fri, Dec 02, 2011 at 04:21:14PM +0700, Max Khon wrote: > David, > > On Fri, Dec 2, 2011 at 3:35 PM, David O'Brien wrote: > > On Fri, Dec 02, 2011 at 11:56:31AM +0700, Max Khon wrote: > >> You still failed to name a single compelling reason to leave profiled > >> libs even in -CURRENT. > > > > Sorry Joe, I don't think your reasoning is compelling. > > I'm sure you know how to stick "NO_PROFILE=true" in your /etc/src.conf. > > > > How far do you want to take this? ??By this reasoning we should set all > > the knobs to "NO" to speed up the build. ??I mean we're all competent > > code builders running FreeBSD-current and know how to enable knobs in > > /etc/src.conf. > > > > Is speeding up the build import important to you then the default > > base system being an comfortable featureful development environment? > > The most important thing is to have reasonable defaults. > Having WITH_PROFILE by default does not seem to be a reasonable default to me. > Common options set in make.conf WITHOUT_MODULES="YES" WITHOUT_NLS="YES" WITHOUT_LIB32="YES" WITH_BSD_GREP="YES" Here's some numbers to consider: WITH_PROFILE="YES" rm -rf /usr/obj/* time make -j2 buildworld 6678.61 real 9752.40 user 1630.71 sys WITHOUT_PROFILE="YES" rm -rf /usr/obj/* time make -j2 buildworld 6221.21 real 9171.41 user 1471.23 sys WITH_PROFILE="YES" WITHOUT_CLANG="YES" 3388.27 real 4804.24 user 1160.12 sys If one wants to speed up buildworld, it would seem to be prudent to compile clang with profiled libraries to determined why it is such a time sync. >From dmesg.boot: CPU: AMD Opteron(tm) Processor 248 (2191.96-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xf5a Family = f Model = 5 Stepping = 10 Features=0x78bfbff AMD Features=0xe0500800 real memory = 8589934592 (8192 MB) avail memory = 8203833344 (7823 MB) -- Steve