Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2013 00:12:22 +0000
From:      "Teske, Devin" <Devin.Teske@fisglobal.com>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, Devin Teske <dteske@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, Garrett Cooper <yaneurabeya@gmail.com>
Subject:   Re: svn commit: r253002 - head
Message-ID:  <13CA24D6AB415D428143D44749F57D7201FB7609@ltcfiswmsgmb21>
In-Reply-To: <51D9DA55.2090808@freebsd.org>
References:  <201307072039.r67KdCdR028908@svn.freebsd.org> <9D4C7540-A3B0-45E5-8219-6A455D41DF70@gmail.com> <51D9DA55.2090808@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 7, 2013, at 2:15 PM, Alfred Perlstein wrote:

> On 7/7/13 2:01 PM, Garrett Cooper wrote:
>> Why the magic number 12?
>=20
> Numbers higher seem to result in worse performance as reported by some me=
mbers of my team.
>=20

We've run as high as -j48 ... number of logical cpu's "times-two" (it was o=
n a box with 24 logical CPUs).

We did buildworld in under 9 minutes. Beyond the "times-two" rule we saw a =
slow-down.

NOTE: I might also mention this was on RAID-1 SSD.
--=20
Devin



>> On Jul 7, 2013, at 1:39 PM, Alfred Perlstein <alfred@FreeBSD.org> wrote:
>>=20
>>> Author: alfred
>>> Date: Sun Jul  7 20:39:11 2013
>>> New Revision: 253002
>>> URL: http://svnweb.freebsd.org/changeset/base/253002
>>>=20
>>> Log:
>>>  Document tip on how to build all kernels quickly.
>>>=20
>>> Modified:
>>>  head/Makefile
>>>=20
>>> Modified: head/Makefile
>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
>>> --- 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 pa=
irs
>>> #                       for world and kernel targets.
>>> # toolchains          - Build a toolchain for all world and kernel targ=
ets.
>>> +#
>>> +# "quick" way to test all kernel builds:
>>> +#    _jflag=3D`sysctl -n hw.ncpu`
>>> +#    _jflag=3D$(($_jflag * 2))
>>> +#    [ $_jflag -gt 12 ] && _jflag=3D12
>>> +#    make universe -DMAKE_JUST_KERNELS JFLAG=3D${jflag}
>>> #
>>> # This makefile is simple by design. The FreeBSD make automatically rea=
ds
>>> # 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"
>=20

_____________
The information contained in this message is proprietary and/or confidentia=
l. If you are not the intended recipient, please: (i) delete the message an=
d all copies; (ii) do not disclose, distribute or use the message in any ma=
nner; and (iii) notify the sender immediately. In addition, please be aware=
 that any message addressed to our domain is subject to archiving and revie=
w by persons other than the intended recipient. Thank you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13CA24D6AB415D428143D44749F57D7201FB7609>