From owner-freebsd-arch@FreeBSD.ORG Mon Feb 2 22:31:47 2009 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D53781065716 for ; Mon, 2 Feb 2009 22:31:47 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id B47898FC18 for ; Mon, 2 Feb 2009 22:31:47 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.2/8.14.2) with ESMTP id n12MVfNj077991; Mon, 2 Feb 2009 14:31:41 -0800 (PST) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.2/8.14.2/Submit) id n12MVfEn077990; Mon, 2 Feb 2009 14:31:41 -0800 (PST) (envelope-from obrien) Date: Mon, 2 Feb 2009 14:31:41 -0800 From: "David O'Brien" To: "M. Warner Losh" Message-ID: <20090202223141.GB76833@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, "M. Warner Losh" , arch@FreeBSD.org References: <200901130653.n0D6rrNX092719@svn.freebsd.org> <20090130015518.GA20404@hades.panopticon> <20090130.085130.-4349483.imp@bsdimp.com> <20090130.093052.-2022808221.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090130.093052.-2022808221.imp@bsdimp.com> X-Operating-System: FreeBSD 8.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: arch@FreeBSD.org Subject: Re: svn commit: r187132 - head/usr.bin/make X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2009 22:31:48 -0000 On Fri, Jan 30, 2009 at 09:30:52AM -0700, M. Warner Losh wrote: > First, there was absolutely no reason to introduce -Q. -v is > otherwise unused and matches the 'opt-in' debugging that's present in > the rest of make and the build system and other utilities like cp and > mv which will tell you what they are doing only if asked. I disagree. If one aliases "cp='cp -v'" it is easy to disable with issuing "\cp". Make is more complicated and looks at environmental variables to get its options. In those cases it is often useful to have a "disable" option that can used on the command line to override the environment. I could dig up other commands in /usr/src where one command enables something and following option disables it. ('ls -l -C' as one example) > Second, the extra always on debug introduces a performance penalty. I've replied separately on this topic. I was unable to measure any real 'make buildworld' penalty for my change. [that would be 'make -j16 -Q' vs. 'make -j16'] I was also only able to get about 2.5% speedup in a -j16 build after disabling all the output I easily could [make -j16 -Q -s] -- -- David (obrien@FreeBSD.org)