From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qDGmOZ55Z2OlRwEAbAwnHQ (envelope-from ) for ; Sun, 06 Nov 2022 10:08:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mN/HOJ55Z2NWBAAAG6o9tA (envelope-from ) for ; Sun, 06 Nov 2022 10:08:46 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6C9291E572 for ; Sun, 6 Nov 2022 10:08:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orbdX-00035t-Ps; Sun, 06 Nov 2022 04:08:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orbdU-00035X-I3 for guix-devel@gnu.org; Sun, 06 Nov 2022 04:08:13 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orbdS-0004lS-Oz for guix-devel@gnu.org; Sun, 06 Nov 2022 04:08:12 -0500 Received: by mail-wm1-x32b.google.com with SMTP id r186-20020a1c44c3000000b003cf4d389c41so7874332wma.3 for ; Sun, 06 Nov 2022 01:08:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=ccYhYjHCraqEsdajtC9V785UCMNsSwMmiKzcxqVmZTI=; b=l6I+TZt96FGndS7MIDmV0GnNWn7MrzOYdjB63Rce5fGP5A821K6DuHcMYEFbx4N4bJ oghMFaH3bEVdsRc/brp3+zDtwbcFR5UGPkbJyN4Yhta4MsRxr8JIc3mOdy7jUh881ihS Y2g+74HzpVBzpVnE+MT+rQoExaeY+kzH0laN4TjYi1bl7EUR3Ok9gWFfGVgds4sBGCBV TkzZMU+Z4oc6PV5WjQMC8Iezo0/qnXD/jnU9ovFPpD01i/V1Zn69WHDKwygiG++JNcn4 RUPBl+7qoVvefIjCNilS42lwM5TvwvKwosAZlIMPYxmWtuf2GxaoT/v1cbuJLQs705g/ HhNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ccYhYjHCraqEsdajtC9V785UCMNsSwMmiKzcxqVmZTI=; b=YUWQ+gc2xI9zQLW9nCLx3fc0HXjY8o9cXPIMWUkH6XgkUySbiRNKalTUW4YRe3Vybg 3T6KqzKnxbztIc43GEk1W4KisulzRbJ2WPmRD6UKIEDTBsiSEeOActphabCajnSWGhW2 pITiZ93Pa6nlmYId4MgL9nVbbkdo9rWCZsT4Bf92xd+GN0jhuTzjWuJEvUS8ePLMNuEZ MTF4QgMkrfz7TbJHd+JA7bwDvvOyLOykO6tMyzN8mJ6rE6URYbTjEZzzJ6ar6Y6C4OgV oVSXNscNHg55uYvEU/dkk6e+e+UlerpPA6ckL0oIyC2xhmMEjDbHWEFH+sC9b+ZI8mc6 N0lw== X-Gm-Message-State: ACrzQf0BckjR/Q+8qeRrkXqGD5h2kh7gRE6KbmdCSY4nd1GSiWdZ2gOf 9IfvNyHssoEyO0VlOKpHdLM= X-Google-Smtp-Source: AMsMyM5QfBsapQrMU4uuAD43StwxuLpDQ3gJbHn3JqhJbZjiIqU82/5mQCKMztlAVbfkh2Hx7oZIRQ== X-Received: by 2002:a05:600c:21a:b0:3cf:6e76:9830 with SMTP id 26-20020a05600c021a00b003cf6e769830mr25800804wmi.159.1667725688656; Sun, 06 Nov 2022 01:08:08 -0800 (PST) Received: from localhost ([141.226.15.67]) by smtp.gmail.com with ESMTPSA id p7-20020a5d48c7000000b0022cce7689d3sm5002429wrs.36.2022.11.06.01.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Nov 2022 01:08:06 -0800 (PST) Date: Sun, 6 Nov 2022 11:08:04 +0200 From: Efraim Flashner To: bokr@bokr.com Cc: Maxim Cournoyer , =?utf-8?B?RsOpbGl4IEJheWxhYyBKYWNxdcOp?= , guix-devel@gnu.org Subject: Re: How long does it take to run the full rustc bootstrap chain? Message-ID: Mail-Followup-To: bokr@bokr.com, Maxim Cournoyer , =?utf-8?B?RsOpbGl4IEJheWxhYyBKYWNxdcOp?= , guix-devel@gnu.org References: <87k0514k3g.fsf@alternativebit.fr> <8735bgufy5.fsf@gmail.com> <20221026193732.GA6899@LionPure> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Zq4VPlIXY6CZYQfT" Content-Disposition: inline In-Reply-To: <20221026193732.GA6899@LionPure> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=efraim.flashner@gmail.com; helo=mail-wm1-x32b.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Guix-devel" Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667725726; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ccYhYjHCraqEsdajtC9V785UCMNsSwMmiKzcxqVmZTI=; b=PpHpWr+JPgkatxWEy0sbyZTr9JEdtFMNX+luojRpFEvNg2KQDZE2AUX31kpxtpArCMGAHS d++TNJrc4ue6vzlnSkoKzkAT/mvY/SX7vwUSKBZgZJF9FIcZVUI6e5W2dNq/UYIik0YZlS IOXi4iHtUdmStZaAFNdfGvrWvHL5FR9KZDS1lCQVdoOoHIeuIvjQbIi59BmUYQpg8otnvb fp5EtPQQLiLIiZy8Xi4/fLbuQGPnUFk9MpUH9QSMBQhjdZogKHaGgj0n/u83AqcdYyj85v 6FfPozi56TWLD9aBixWeFDY7xIzth808XwUK2qYH398PVc0ucMFJTJiy+m+oQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667725726; a=rsa-sha256; cv=none; b=eSEpkwJZ5WhiaC5gDBmgwbwF93RSB/f5hWdXMg+ddEbEhIPoYl412Osfk4RrbQslej4JgT sHt08iBMkqysSKapF92aSiGKfwUfaRVLFNABQXQ6Kb94Epx/meMz0+7xBOntl3DOAOGb4z 5tO9xnOt/YqIq77UJIkG4TyaETdpSMLbAWExq06QBy2MPFkeq8dtj+htTIo89ftJpFKHkq yjhdoONblrOC90lAX1JGGU+z74GlvP3iQ9h4QCqI/RqiVzuic7kcTeODCleDTDVuGzD+DU 1prmGaN6+HbPWWpPmYgFrdafHZIjO0CjMB57i58qZ/w6LTz0zCfkNqco2PxlsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=l6I+TZt9; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.60 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=l6I+TZt9; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6C9291E572 X-Spam-Score: 3.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: o9RS6XjDYAGl --Zq4VPlIXY6CZYQfT Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 26, 2022 at 09:37:32PM +0200, bokr@bokr.com wrote: > Hi, >=20 > On +2022-10-22 09:48:50 -0400, Maxim Cournoyer wrote: > > Hi, > >=20 > > F=C3=A9lix Baylac Jacqu=C3=A9 writes: > >=20 > > > Hey Guix, > > > > > > I'd be curious to know how long it takes to run the full rustc bootst= rap > > > chain on the Guix build farm. I'm sadly not sure how to approach this > > > problem. > > > > > > Is there a way to extract this information from Cuirass or the Guix d= ata > > > service? > > > > > > F=C3=A9lix > >=20 > > It used to be 16 hours on a Ryzen 3900x machine, then it got halved to 8 > > hours with the work to bootstrap from 1.39, and recently we're > > bootstrapping from 1.54, so it must have been greatly reduced again. > >=20 > > Looking at (gnu packages rust), the mrustc-based bootstrap starts with > > 1.54.0. This one is expensive, probably around 1 h 30 or more on a > > Ryzen 3900x CPU (24 logical CPUs). > >=20 > > The intermediate builds are typically around 15-20 minutes on that > > machines, with the last one taking a bit more (30 minutes), so the > > current bootstrap on such a machine should take about: > >=20 > > 1.54.0: 1h30m > > 1.55.0 - 1.60.0: 6 X 20 min =3D 1h20m > > 1.60.0: final build with tests and extra tools: 30 min > >=20 > > The total should be around 3 h 20 on a fast modern x86_64 machine. I > > suppose the time for berlin to build it takes about this. > >=20 > > HTH! > >=20 > > --=20 > > Thanks, > > Maxim > >=20 >=20 > I'm curious what > --8<---------------cut here---------------start------------->8--- > $ lsblk -o size,model,type,tran,vendor,name|grep -Ei 'ssd|model';echo;lsp= ci |grep -i nvme > --8<---------------cut here---------------end--------------->8--- > on your relevant machines would show. >=20 > I opted for the best SSD available for my purism librem13v4 at the time, > and was really happy with seems like 10x faster than the SATA SSD in my o= lder > but still i7 x86_64 previous laptop. Prob really 4-5x faster. >=20 > So above combo command line now gives me > --8<---------------cut here---------------start------------->8--- > SIZE MODEL TYPE TRAN VENDOR NAME > 465.8G Samsung SSD 970 EVO Plus 500GB disk nvme nvme0n1 >=20 > 01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe S= SD Controller SM981/PM981 > $=20 > --8<---------------cut here---------------end--------------->8--- >=20 > What /is/has been/ on your machines? Could your improved times be part fr= om SSD/controller changes? >=20 > There's really a huge difference between SATA and 4-lane pci > (where both ends can handle it, which may require fw update or not be ava= ilable) > Obviously 4 lanes is also going to be faster than one. SIZE MODEL TYPE TRAN VENDOR NAME 931.5G NVME SSD 1TB disk nvme nvme0n1 01:00.0 Non-Volatile memory controller: Silicon Motion, Inc. Device 2263 (r= ev 03) --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Zq4VPlIXY6CZYQfT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmNneXAACgkQQarn3Mo9 g1Gvig/9EXByQJtjeGkL1VYx9Zq8EKPsiqF7lwiSgScpT9OaFRx4Mir1gmdFOK9x qdpU1pFzPJWDzxR1CA3/49k50lNr2OyiceGWF4WTRy+jpdMElzmNG/P7p60uCt/9 EShlHJepR3LnlGCDTFo/bGI78lzL/9v2XuFiV5fP5a8UUfOyEvd4E2FuflnGhS97 XUJUAp71h28aZvswuDgT6EyOCFLvzqKEeqwN/eUz9xKDoqqIic8enhUaAXDpX6Ee +ZVZ5brJiLJpBN3HprZK0tRj/MU56RntROWya7MX4fMYY2EgN0aRRvdHC0TSEIz3 PKYAX5CDNMeX6hNVZHmS8ptiN3RdKD9VKt4oPUxCk6rLHVgL1NHg1D2hNKWBJ2pM gj03tl6ATHED5IPNPdWHnVAHZ6I3AO6JjDwkjOj2PobrII54X1HgFaPrBnW8Kt/k Jm55FTDXTn4IaCZb5JfDkFGwwYXe8LLd/1OxrljWCOaGeetuhkJkwJ5iIOFd6HLa Jelygiv0+t0fFB25doevDQi3b02XNUGcZ5wC1esLReJZ3puBcDzlb7x5V4gNqLUZ Fk54Q9HbMt40p+XeulF1flkTYGVvk21YUfLTDL4gz2XTgICTL3BYGnOkz1Mcspew BnZctC9Qm1K8TLSImB8nqfoN68ubdjegtldEV8YHa7nrSqUqBfM= =bIuU -----END PGP SIGNATURE----- --Zq4VPlIXY6CZYQfT--