[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Substituting in parallel to save time?
From: |
Leo Famulari |
Subject: |
Substituting in parallel to save time? |
Date: |
Wed, 7 Nov 2018 16:26:24 -0500 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Substitution honors the --max-jobs argument to the guix-daemon, which
means that, by default, substitutes are downloaded in sequence, one at a
time.
I noticed that in many cases, it takes longer to set up the substitution
than to actually download the substitute on my 30 Mbps downlink.
The effect is that it might take a few minutes to to download a few
dozen small substitutes, which may only total 5 megabytes of data, even
though my connection to the substitute server is fast enough that it
should only take a few seconds.
So, it benefits me to increase max-jobs for substitute downloads.
However, I rarely want to actually build packages in parallel; one
package build may fully load my system.
Currently, is it possible to distinguish between substitute downloads
and builds? Maybe it would be an overall performance win to download
substitutes in parallel, in tune with parallel-job-count.
signature.asc
Description: PGP signature
- Substituting in parallel to save time?,
Leo Famulari <=