Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2019 18:09:52 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        mike tancsa <mike@sentex.net>
Cc:        freebsd-stable@freebsd.org
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...)
Message-ID:  <2B4E531D-F26E-4615-8F46-0869ED951138@FreeBSD.org>
In-Reply-To: <C9E884D6-0FA1-4F3B-A3C5-3ECD2E01FD0F@FreeBSD.org>
References:  <201907231840.x6NIeWeq024894@repo.freebsd.org> <b085970b-4e20-6802-182a-c6c976b4fc05@sentex.net> <0CB72C19-405C-41F0-8967-96F363228ED6@FreeBSD.org> <f428eb69-ae82-2255-19ce-3b81e8c68f6e@sentex.net> <8373E39A-46E7-41AB-BC1F-8CDF65F47287@FreeBSD.org> <b07742fd-2d3a-3ada-7066-6e5762e64473@sentex.net> <801c0dd8-7a50-d93f-77f6-999aaa91a295@sentex.net> <C9E884D6-0FA1-4F3B-A3C5-3ECD2E01FD0F@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <dim@FreeBSD.org> wrote:
>=20
> On 24 Jul 2019, at 22:56, mike tancsa <mike@sentex.net> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2B4E531D-F26E-4615-8F46-0869ED951138>