From: Efraim Flashner <efraim@flashner.co.il>
To: bokr@bokr.com
Cc: "Maxim Cournoyer" <maxim.cournoyer@gmail.com>,
"Félix Baylac Jacqué" <felix@alternativebit.fr>,
guix-devel@gnu.org
Subject: Re: How long does it take to run the full rustc bootstrap chain?
Date: Sun, 6 Nov 2022 11:08:04 +0200 [thread overview]
Message-ID: <Y2d5dFYEGE/FxHmr@3900XT> (raw)
In-Reply-To: <20221026193732.GA6899@LionPure>
[-- Attachment #1: Type: text/plain, Size: 3165 bytes --]
On Wed, Oct 26, 2022 at 09:37:32PM +0200, bokr@bokr.com wrote:
> Hi,
>
> On +2022-10-22 09:48:50 -0400, Maxim Cournoyer wrote:
> > Hi,
> >
> > Félix Baylac Jacqué <felix@alternativebit.fr> writes:
> >
> > > Hey Guix,
> > >
> > > I'd be curious to know how long it takes to run the full rustc bootstrap
> > > 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 data
> > > service?
> > >
> > > Félix
> >
> > 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.
> >
> > 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).
> >
> > 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:
> >
> > 1.54.0: 1h30m
> > 1.55.0 - 1.60.0: 6 X 20 min = 1h20m
> > 1.60.0: final build with tests and extra tools: 30 min
> >
> > 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.
> >
> > HTH!
> >
> > --
> > Thanks,
> > Maxim
> >
>
> I'm curious what
> --8<---------------cut here---------------start------------->8---
> $ lsblk -o size,model,type,tran,vendor,name|grep -Ei 'ssd|model';echo;lspci |grep -i nvme
> --8<---------------cut here---------------end--------------->8---
> on your relevant machines would show.
>
> 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 older
> but still i7 x86_64 previous laptop. Prob really 4-5x faster.
>
> 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
>
> 01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981
> $
> --8<---------------cut here---------------end--------------->8---
>
> What /is/has been/ on your machines? Could your improved times be part from SSD/controller changes?
>
> 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 available)
> 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 (rev 03)
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2022-11-06 9:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-15 7:33 How long does it take to run the full rustc bootstrap chain? Félix Baylac Jacqué
2022-10-19 19:52 ` Efraim Flashner
2022-10-20 9:59 ` Ludovic Courtès
2022-10-20 20:11 ` Efraim Flashner
2022-10-22 8:57 ` Félix Baylac Jacqué
2022-10-22 13:48 ` Maxim Cournoyer
2022-10-26 19:37 ` bokr
2022-10-27 14:35 ` Maxim Cournoyer
2022-10-28 12:00 ` Has guix system ever run a hardware survey? Joshua Branson
2022-10-31 19:02 ` How long does it take to run the full rustc bootstrap chain? Bengt Richter
2022-11-01 12:49 ` Maxim Cournoyer
2022-11-06 9:08 ` Efraim Flashner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y2d5dFYEGE/FxHmr@3900XT \
--to=efraim@flashner.co.il \
--cc=bokr@bokr.com \
--cc=felix@alternativebit.fr \
--cc=guix-devel@gnu.org \
--cc=maxim.cournoyer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.