mirror of
git://git.savannah.gnu.org/guix/guix-artwork.git
synced 2023-12-14 05:33:02 +01:00
website: faster-substitutes: Host images locally.
* website/static/blog/img/decompression-speed-plot.png, website/static/blog/img/installer-substitute-discovery.png, website/static/blog/img/substitute-chart-one-process-per-substitute.png: New files. * website/drafts/faster-substitutes.md: Adjust links.
This commit is contained in:
parent
ef14085fa2
commit
86a8ac8c07
4 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ diagram, which gives an idea of all the time wasted creating these
|
|||
processes, waiting for them to initialize and connect to the substitute
|
||||
server, and so on:
|
||||
|
||||
![Gantt diagram without substitute agent.](https://issues.guix.gnu.org/issue/45018/attachment/8/1)
|
||||
![Gantt diagram without substitute agent.](https://guix.gnu.org/static/blog/img/substitute-chart-one-process-per-substitute.png)
|
||||
|
||||
Why was it done this way? Because the daemon, written in C++ and
|
||||
inherited from Nix, would historically delegate substitution to helper
|
||||
|
@ -113,7 +113,7 @@ than that of lzip but in the same ballpark. Guillaume Le Vaillant
|
|||
an insightful comparison of gzip, lzip, and zstd on a plot showing their
|
||||
decompression speed as a function of the compression ratio:
|
||||
|
||||
![Decompression speed vs. compression ratio of gzip, lzip, and zstd.](https://lists.gnu.org/archive/html/guix-devel/2021-01/pngFOHKzO4aVW.png)
|
||||
![Decompression speed vs. compression ratio of gzip, lzip, and zstd.](https://guix.gnu.org/static/blog/img/decompression-speed-plot.png)
|
||||
|
||||
There are several takeaways. First, zstd decompression is always faster
|
||||
than the alternatives. Second, zstd compresses better than gzip
|
||||
|
@ -183,7 +183,7 @@ substitute servers and adds them as the preferred download location.
|
|||
The Guix System installation image even allows you to enable it to speed
|
||||
up the installation process:
|
||||
|
||||
![Enabling substitute server discovery when installing Guix System.](https://othacehe.org/files/substitute.png)
|
||||
![Enabling substitute server discovery when installing Guix System.](https://guix.gnu.org/static/blog/img/installer-substitute-discovery.png)
|
||||
|
||||
Again, that only speeds things up if substitute servers use a
|
||||
compression method with fast decompression, and with either a cache or
|
||||
|
|
BIN
website/static/blog/img/decompression-speed-plot.png
Normal file
BIN
website/static/blog/img/decompression-speed-plot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
website/static/blog/img/installer-substitute-discovery.png
Normal file
BIN
website/static/blog/img/installer-substitute-discovery.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
Binary file not shown.
After Width: | Height: | Size: 99 KiB |
Loading…
Reference in a new issue