Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2020 14:48:51 +0200 (CEST)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        Michael Grimm <trashcan@ellael.org>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: Buildworld and buildkernel with very slow compilation, recently
Message-ID:  <816278512.11586.1592743731465@localhost>
In-Reply-To: <2D4CD117-99D0-4A03-8FBC-002CDFFE64F9@ellael.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@ellael.org>
Datum: 21 juni 2020 14:12
Aan: FreeBSD-STABLE Mailing List <freebsd-stable@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> 
> 
> 
> 
From owner-freebsd-stable@freebsd.org  Sun Jun 21 13:02:40 2020
Return-Path: <owner-freebsd-stable@freebsd.org>
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 EE9C634EE3E
 for <freebsd-stable@mailman.nyi.freebsd.org>;
 Sun, 21 Jun 2020 13:02:40 +0000 (UTC)
 (envelope-from yasu@utahime.org)
Received: from gate.utahime.jp (gate.utahime.jp [183.180.29.210])
 (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 49qXl25rvRz3gTL
 for <freebsd-stable@freebsd.org>; Sun, 21 Jun 2020 13:02:37 +0000 (UTC)
 (envelope-from yasu@utahime.org)
Received: from eastasia.home.utahime.org (eastasia.home.utahime.org
 [192.168.174.1])
 (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)
 (No client certificate requested)
 by gate.utahime.jp (Postfix) with ESMTPS id 607888C3;
 Sun, 21 Jun 2020 22:02:27 +0900 (JST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org;
 s=maybe2019112701; t=1592744547;
 bh=f5VwrM5i6n986N4v+5PQFPhGpIGadomeBl4ywdBy5fI=;
 h=Date:To:Cc:Subject:From:In-Reply-To:References;
 b=u2dgypHDt3WPUx3p1BeRoqgIXmMAsAJM+EG69bLZ67s93yTC2qPZ1sA6A/geVov8Y
 JZ6vT9/cFbcwDmzJBSmj3CgPlXD/Qijd5UgFyAZ9mc7hc0C6qanv/qFU/79sM1ZEgL
 3M8sV+tM+8brPSiJvI/qBbT2P7S4lYKSjvQsqi/g5sS6RYHY+1pd/ksuq0OG8M8m59
 0p30fAkQ+zMwZksKTp6rWVTRTTIa7ZHf68ejoC53bFtT6GRXBlHQgFsOcv+miTa6Bh
 WRKK/YGixt3Z5WT5zdxnehuU+u56kJ9KShxrwke6h6XEljTD+9objYTf/j6cV3JEUZ
 hd7x3CzDMNy4A==
Received: from localhost (rolling.home.utahime.org [192.168.174.11])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by eastasia.home.utahime.org (Postfix) with ESMTPSA id DD54F4A21E;
 Sun, 21 Jun 2020 22:02:25 +0900 (JST)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.102.3 at eastasia.home.utahime.org
Date: Sun, 21 Jun 2020 22:00:20 +0900 (JST)
Message-Id: <20200621.220020.1916748464498392515.yasu@utahime.org>
To: ronald-lists@klop.ws
Cc: trashcan@ellael.org, freebsd-stable@freebsd.org
Subject: Re: Buildworld and buildkernel with very slow compilation, recently
From: Yasuhiro KIMURA <yasu@utahime.org>
In-Reply-To: <816278512.11586.1592743731465@localhost>
References: <2D4CD117-99D0-4A03-8FBC-002CDFFE64F9@ellael.org>
 <816278512.11586.1592743731465@localhost>
X-Mailer: Mew version 6.8 on Emacs 26.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 49qXl25rvRz3gTL
X-Spamd-Bar: --
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=utahime.org header.s=maybe2019112701 header.b=u2dgypHD;
 dmarc=none;
 spf=pass (mx1.freebsd.org: domain of yasu@utahime.org designates
 183.180.29.210 as permitted sender) smtp.mailfrom=yasu@utahime.org
X-Spamd-Result: default: False [-2.22 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[];
 ARC_NA(0.00)[];
 R_DKIM_ALLOW(-0.20)[utahime.org:s=maybe2019112701];
 NEURAL_HAM_MEDIUM(-1.02)[-1.021]; FROM_HAS_DN(0.00)[];
 RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[];
 R_SPF_ALLOW(-0.20)[+a:spf-authorized.utahime.org];
 MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[];
 DMARC_NA(0.00)[utahime.org]; NEURAL_HAM_LONG(-1.04)[-1.037];
 RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[];
 DKIM_TRACE(0.00)[utahime.org:+];
 NEURAL_HAM_SHORT(-1.16)[-1.163]; MID_CONTAINS_FROM(1.00)[];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:2519, ipnet:183.180.0.0/16, country:JP];
 RCVD_TLS_ALL(0.00)[]
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.33
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-stable>, 
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>;
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Jun 2020 13:02:41 -0000

From: Ronald Klop <ronald-lists@klop.ws>
Subject: Re: Buildworld and buildkernel with very slow compilation, recently
Date: Sun, 21 Jun 2020 14:48:51 +0200 (CEST)

> 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.

>From /usr/src/UPDATING of head:

NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
        FreeBSD 13.x has many debugging features turned on, in both the kernel
        and userland.  These features attempt to detect incorrect use of
        system primitives, and encourage loud failure through extra sanity
        checking and fail stop semantics.  They also substantially impact
        system performance.  If you want to do performance measurement,
        benchmarking, and optimization, you'll want to turn them off.  This
        includes various WITNESS- related kernel options, INVARIANTS, malloc
        debugging flags in userland, and various verbose features in the
        kernel.  Many developers choose to disable these features on build
        machines to maximize performance.  (To completely disable malloc
        debugging, define MALLOC_PRODUCTION in /etc/make.conf, or to merely
        disable the most expensive debugging functionality run
        "ln -s 'abort:false,junk:false' /etc/malloc.conf".)

---
Yasuhiro KIMURA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?816278512.11586.1592743731465>