Michael Grimm
2020-Jun-21 12:11 UTC
Buildworld and buildkernel with very slow compilation, recently
Hi, I am following FreeBSD 12.1-STABLE. 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. Has anyone else been bitten by this? Regards, Michael
Yuri Pankov
2020-Jun-21 12:19 UTC
Buildworld and buildkernel with very slow compilation, recently
Michael Grimm wrote:> Hi, > > I am following FreeBSD 12.1-STABLE. > > 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.Not seeing this after clang update to 10 on both stable/12 and head. I'd check if you are excessively swapping now as (not sure about that, just guessing) newer clang/llvm could consume more memory during compilation, and possibly reducing the make jobs number.
Chris Nehren
2020-Jun-21 12:36 UTC
Buildworld and buildkernel with very slow compilation, recently
On Sunday, June 21, 2020 8:11:15 AM EDT Michael Grimm wrote:> Hi, > > I am following FreeBSD 12.1-STABLE. > > 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. > > Has anyone else been bitten by this?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): http://lists.llvm.org/pipermail/llvm-dev/2020-April/140938.html https://lists.llvm.org/pipermail/llvm-dev/2020-May/141482.html So there definitely seems to be *something* going on, and you are indeed not crazy. :)
Ronald Klop
2020-Jun-21 12:48 UTC
Buildworld and buildkernel with very slow compilation, recently
Building ports/pkgs is also significantly slower on 13 (new clang) than on 12.1. http://thunderx1.nyi.freebsd.org/ 13 = 140 hours12.1 = 103 hoursFor roughly the same amount of ports. Regards, Ronald Van: Michael Grimm <trashcan at ellael.org> Datum: 21 juni 2020 14:12 Aan: FreeBSD-STABLE Mailing List <freebsd-stable at freebsd.org> Onderwerp: Buildworld and buildkernel with very slow compilation, recently> > > Hi, > > I am following FreeBSD 12.1-STABLE. > > 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. > > Has anyone else been bitten by this? > > Regards, > Michael > _______________________________________________ > freebsd-stable at freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org" > > > >