From owner-svn-src-head@FreeBSD.ORG Sun Jul 7 21:41:55 2013 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 674C6CB2; Sun, 7 Jul 2013 21:41:55 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 14D7917CB; Sun, 7 Jul 2013 21:41:53 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id AAA27318; Mon, 08 Jul 2013 00:41:52 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1UvwiN-0004B1-Qs; Mon, 08 Jul 2013 00:41:51 +0300 Message-ID: <51D9E069.5060300@FreeBSD.org> Date: Mon, 08 Jul 2013 00:40:57 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130405 Thunderbird/17.0.5 MIME-Version: 1.0 To: Alfred Perlstein Subject: Re: svn commit: r253002 - head References: <201307072039.r67KdCdR028908@svn.freebsd.org> <9D4C7540-A3B0-45E5-8219-6A455D41DF70@gmail.com> <51D9DA55.2090808@freebsd.org> In-Reply-To: <51D9DA55.2090808@freebsd.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" , Garrett Cooper X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 21:41:55 -0000 on 08/07/2013 00:15 Alfred Perlstein said the following: > On 7/7/13 2:01 PM, Garrett Cooper wrote: >> Why the magic number 12? > > Numbers higher seem to result in worse performance as reported by some members > of my team. Should we really commit all "notes to self" or "my team's knowledge base" to FreeBSD source code like this? >> >> On Jul 7, 2013, at 1:39 PM, Alfred Perlstein wrote: >> >>> Author: alfred >>> Date: Sun Jul 7 20:39:11 2013 >>> New Revision: 253002 >>> URL: http://svnweb.freebsd.org/changeset/base/253002 >>> >>> Log: >>> Document tip on how to build all kernels quickly. >>> >>> Modified: >>> head/Makefile >>> >>> Modified: head/Makefile >>> ============================================================================== >>> --- head/Makefile Sun Jul 7 19:58:14 2013 (r253001) >>> +++ head/Makefile Sun Jul 7 20:39:11 2013 (r253002) >>> @@ -32,6 +32,12 @@ >>> # targets - Print a list of supported TARGET/TARGET_ARCH pairs >>> # for world and kernel targets. >>> # toolchains - Build a toolchain for all world and kernel targets. >>> +# >>> +# "quick" way to test all kernel builds: >>> +# _jflag=`sysctl -n hw.ncpu` >>> +# _jflag=$(($_jflag * 2)) >>> +# [ $_jflag -gt 12 ] && _jflag=12 >>> +# make universe -DMAKE_JUST_KERNELS JFLAG=${jflag} >>> # >>> # This makefile is simple by design. The FreeBSD make automatically reads >>> # the /usr/share/mk/sys.mk unless the -m argument is specified on the >>> _______________________________________________ >>> svn-src-head@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/svn-src-head >>> To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" > -- Andriy Gapon