From owner-freebsd-stable@freebsd.org Thu Jul 25 16:09:56 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5E962A8075 for ; Thu, 25 Jul 2019 16:09:56 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FAF389146; Thu, 25 Jul 2019 16:09:56 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id D1A2783AD; Thu, 25 Jul 2019 16:09:55 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::e5f9:9d28:2d74:eb2] (unknown [IPv6:2001:470:7a58:0:e5f9:9d28:2d74:eb2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 2C87F3F782; Thu, 25 Jul 2019 18:09:53 +0200 (CEST) From: Dimitry Andric Message-Id: <2B4E531D-F26E-4615-8F46-0869ED951138@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_4F215892-CF6F-42E3-8E97-AD3526648F00"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Buildworld times (was Re: svn commit: r350256 - in stable/12: . contrib/compiler-rt/lib/sanitizer_common contrib/libunwind/src contrib/llvm/lib/DebugInfo/DWARF contrib/llvm/lib/MC contrib/llvm/lib/Object contrib/llvm/lib/Ta...) Date: Thu, 25 Jul 2019 18:09:52 +0200 In-Reply-To: Cc: freebsd-stable@freebsd.org To: mike tancsa References: <201907231840.x6NIeWeq024894@repo.freebsd.org> <0CB72C19-405C-41F0-8967-96F363228ED6@FreeBSD.org> <8373E39A-46E7-41AB-BC1F-8CDF65F47287@FreeBSD.org> <801c0dd8-7a50-d93f-77f6-999aaa91a295@sentex.net> X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 3FAF389146 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jul 2019 16:09:56 -0000 --Apple-Mail=_4F215892-CF6F-42E3-8E97-AD3526648F00 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 24 Jul 2019, at 23:21, Dimitry Andric wrote: >=20 > On 24 Jul 2019, at 22:56, mike tancsa wrote: >>=20 >> On 7/24/2019 1:21 PM, mike tancsa wrote: >>> On 7/24/2019 12:02 PM, Dimitry Andric wrote: > ... >>> # cat /etc/src.conf /etc/make.conf >>> MK_SYSTEM_COMPILER=3Dno >>> MK_SYSTEM_LINKER=3Dno >>> KERNCONF=3Dserver >>> MK_SYSTEM_COMPILER=3Dno >>> MK_SYSTEM_LINKER=3Dno >>=20 >> Hmmm, is the logic reversed somehow ? The good news is if nothing is >> defined, it does the right thing. >=20 > The idea is that the default is to *not* bootstrap the compiler, if = the > system compiler is new enough. E.g. if you build r350256 from a = system > built before r350256, it will normally automatically bootstrap > everything. >=20 > E.g., your previous builds did not have to bootstrap, and now they do, > which is why they take longer. >=20 > So the only good way to compare is to force MK_SYSTEM_COMPILER=3Dyes = and > MK_SYSTEM_LINKER=3Dyes, so both buildworlds will do the same thing. >=20 > I did a few tests on a relatively fast machine, and buildworld with > those settings on took approximately the same time at r350255 and > r350256. I'm now repeating those experiments to feed the results to > ministat. Repeating buildworld 3 times for r350255 and r350256 (with both MK_SYSTEM_COMPILER and MK_SYSTEM_LINKER set to "yes") shows no difference in measured real time, according to ministat: $ head real-*.txt =3D=3D> real-r350255.txt <=3D=3D 1562.12 1587.61 1582.78 =3D=3D> real-r350256.txt <=3D=3D 1574.50 1559.20 1584.50 $ ministat real-*.txt x real-r350255.txt + real-r350256.txt = +-------------------------------------------------------------------------= -----+ |+ x + x + x = | | = |_________|____________________A___M______A____________M______|___________= _|| = +-------------------------------------------------------------------------= -----+ N Min Max Median Avg = Stddev x 3 1562.12 1587.61 1582.78 1577.5033 = 13.539477 + 3 1559.2 1584.5 1574.5 1572.7333 = 12.742187 No difference proven at 95.0% confidence -Dimitry --Apple-Mail=_4F215892-CF6F-42E3-8E97-AD3526648F00 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXTnUUAAKCRCwXqMKLiCW o3mbAJ9gFtY+hANVirvpUzLTfIBYiD0EMgCgklhCHCXNgMcNq+X1NEoyYGf4qDE= =vXit -----END PGP SIGNATURE----- --Apple-Mail=_4F215892-CF6F-42E3-8E97-AD3526648F00--