Simon Tournier <zimon.touto...@gmail.com> writes:

> To my knowledge, the main bottleneck on most machines is the part
> “Computing Guix derivation...“ and sadly it’s not substitutable.

I'm not sure that is the full story.  Is there some way to instrument
'guix pull' to report what it is spending time on?  I think there are at
least three different steps involved:

1) Actual 'git pull' equivalent.

2) The 'guix authenticate' dance on the commits.

3) The Guix derivation part.

In some settings, I fear step 1 and 2 takes comparable time as 3.

I think understanding what is taking a long time is the first towards
improving things.  If we can shave off 10 minutes of an initial 80k+
commit 'guix pull' by optimizing 'guix authenticate', that would help.
But if that step takes 5 seconds, there is no need to optimize it.

I've personally optimized step 1 by using a Git mirror [1] instead of
using Savannah.  It seems to speed up things a bit, but primary
availability is better because of the recent outages.

/Simon

[1] https://gitlab.com/debdistutils/guix/mirror

Attachment: signature.asc
Description: PGP signature

Reply via email to