Hi Florian, On Sun, 30 Mar 2025 at 12:55, "pelzflorian (Florian Pelz)" <pelzflor...@pelzflorian.de> wrote: > Caleb Herbert <c...@bluehome.net> writes:
>> * Guix is slow at package management, even slower than DNF. > > Git-based Guix pull is slow because of Git, yes. But it must use a big > Git repo for its reproducibility, transactions and it uses only one big > slow repository because its package dependencies are so intertwined. I would not say “guix pull” is slow because of Git. Well, libgit2 adds some bits here or there but that’s not the main bottleneck,, IMHO. Neither fetching commits – although the first “guix pull” requires to clone a large repository; possibly mitigated by some shallow clone, another story. :-) Well, the Git-based part of “guix pull” mainly depends on your network capacity. For sure, many things could improved; for example the number of requests, see bug#65787 [1], etc. But that’s not why “guix pull” appears very slow. To my knowledge, the main bottleneck on most machines is the part “Computing Guix derivation...“ and sadly it’s not substitutable. And roughly speaking, it’s because 1. Files are not compiled yet, i.e., they are interpreted and 2. It needs to have Guile, i.e., to load the module (gnu packages guile) which ends up to load hundreds of other packages – in one word: inter-dependency modules, e.g., try “guix graph -t module guile”. :-) We are locked by the current implementation that does not scale. Happily, we have paths to move forward [2]. But they require to revamp how it currently works. Good, let’s experiment with that! :-) Cheers, simon 1: bug#65787: time-machine is doing too much network requests Simon Tournier <zimon.touto...@gmail.com> Wed, 06 Sep 2023 18:26:18 +0200 id:87wmx3mfo5....@gmail.com https://issues.guix.gnu.org/65787 https://issues.guix.gnu.org/msgid/87wmx3mfo5....@gmail.com https://yhetil.org/guix/87wmx3mfo5....@gmail.com 2: Re: Guix pull speed Ludovic Courtès <l...@gnu.org> Thu, 14 Sep 2023 11:58:18 +0200 id:87il8ddqkl....@gnu.org https://lists.gnu.org/archive/html/guix-devel/2023-09 https://yhetil.org/guix/87il8ddqkl....@gnu.org