From owner-freebsd-stable@freebsd.org Mon Jun 22 13:19:00 2020 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 D4DE534B4B6 for ; Mon, 22 Jun 2020 13:19:00 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx1.enfer-du-nord.net (mx1.enfer-du-nord.net [IPv6:2001:41d0:302:1100::e:1def]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49r93R5F9Pz4mnP for ; Mon, 22 Jun 2020 13:18:59 +0000 (UTC) (envelope-from trashcan@ellael.org) From: Michael Grimm X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at mail.enfer-du-nord.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Buildworld and buildkernel with very slow compilation, recently Date: Mon, 22 Jun 2020 15:18:42 +0200 References: <2D4CD117-99D0-4A03-8FBC-002CDFFE64F9@ellael.org> <5403888.XOh7uYVVfo@behemoth.lan> To: FreeBSD-STABLE Mailing List In-Reply-To: Message-Id: <7D2B7FF1-831E-4958-812F-B5501148C57F@ellael.org> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49r93R5F9Pz4mnP X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of trashcan@ellael.org has no SPF policy when checking 2001:41d0:302:1100::e:1def) smtp.mailfrom=trashcan@ellael.org X-Spamd-Result: default: False [3.44 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ellael.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.83)[0.834]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; NEURAL_SPAM_LONG(1.02)[1.021]; NEURAL_SPAM_SHORT(0.18)[0.184]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2020 13:19:00 -0000 Dimitry Andric wrote: >=20 > On 21 Jun 2020, at 14:36, Chris Nehren wrote: >> 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. :) >=20 > 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. >=20 > 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. :) >=20 > 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. >=20 > -Dimitry ok, so others see some performance loss as well. In the meantime I activated META_MODE and hope, that will speed-up my = weekly compilations. Thanks to all who answered, and regards, Michael