Date: Sun, 21 Jun 2020 22:56:11 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Chris Nehren <cnehren@pobox.com> Cc: freebsd-stable@freebsd.org Subject: Re: Buildworld and buildkernel with very slow compilation, recently Message-ID: <BDBC8C51-5C41-473E-A1EB-74BB5A375C54@FreeBSD.org> In-Reply-To: <5403888.XOh7uYVVfo@behemoth.lan> References: <2D4CD117-99D0-4A03-8FBC-002CDFFE64F9@ellael.org> <5403888.XOh7uYVVfo@behemoth.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_14FB8FB1-8FDC-40F6-B043-0D6624BE7F73 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 21 Jun 2020, at 14:36, Chris Nehren <cnehren@pobox.com> wrote: >=20 > On Sunday, June 21, 2020 8:11:15 AM EDT Michael Grimm wrote: >> Hi, >>=20 >> I am following FreeBSD 12.1-STABLE. >>=20 >> Clang has been upgraded to version 10.0.0 on May, 1st, and ever since = that >> time, I do observe a dramatic increase in compilation times of = building >> world, kernel and ports. I didn't benchmark the exact times, but >> compilation times are at least increased by a factor of 1.5. Nothing = has >> changed of the last month besides upgrading 12.1-Stable every other = week. >>=20 >> Has anyone else been bitten by this? >=20 > I don't have measurements to corroborate this, but here's a mailing = list > thread where folks are talking about it (split across two URLs, the OP = posted > in April and then there was a followup in May): >=20 > http://lists.llvm.org/pipermail/llvm-dev/2020-April/140938.html > https://lists.llvm.org/pipermail/llvm-dev/2020-May/141482.html >=20 > So there definitely seems to be *something* going on, and you are = indeed not > crazy. :) Indeed, there is some upstream discussion going on about this issue. There are some scenarios where people see non-negligible performance loss, but apparently not everybody suffers from it. If you build the whole ports collection, it is rather likely you may bump into it. I have personally not seen much performance difference in building world, kernel etc. One of the upstream problems is that there is not really any authoritative performance regression log being built up, so it is hard to see where such regressions were introduced. Somebody then has to spend a lot of time tracking down each and every regression, and then attempt to untangle it from the dozens of commits made around the same time. :) In any case, there is at least some attention on it now, so hopefully this will improve again. I don't think such fixes will be trivial though, so it is not likely they will land in 10.0.1. -Dimitry --Apple-Mail=_14FB8FB1-8FDC-40F6-B043-0D6624BE7F73 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXu/JawAKCRCwXqMKLiCW o0YAAJ40Wqs+7gwLpPT3iPNOhbxJ2Mfs5ACeMKWYrlGLYOc4/FtfWu1Kflk1U/A= =zFw1 -----END PGP SIGNATURE----- --Apple-Mail=_14FB8FB1-8FDC-40F6-B043-0D6624BE7F73--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BDBC8C51-5C41-473E-A1EB-74BB5A375C54>