From owner-svn-src-head@FreeBSD.ORG Sun Jul 7 21:15:03 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1312F39A; Sun, 7 Jul 2013 21:15:03 +0000 (UTC) (envelope-from alfred@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 00C0616E5; Sun, 7 Jul 2013 21:15:02 +0000 (UTC) Received: from Alfreds-MacBook-Pro-9.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id F235E1A3C1A; Sun, 7 Jul 2013 14:15:01 -0700 (PDT) Message-ID: <51D9DA55.2090808@freebsd.org> Date: Sun, 07 Jul 2013 14:15:01 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Garrett Cooper Subject: Re: svn commit: r253002 - head References: <201307072039.r67KdCdR028908@svn.freebsd.org> <9D4C7540-A3B0-45E5-8219-6A455D41DF70@gmail.com> In-Reply-To: <9D4C7540-A3B0-45E5-8219-6A455D41DF70@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" 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:15:03 -0000 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. -Alfred > > Sent from my iPhone > > 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"