[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reduced substitute-binary latency

From: Ludovic Courtès
Subject: Reduced substitute-binary latency
Date: Fri, 08 Nov 2013 22:58:11 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Commit 50dc489 does the obvious thing to reduce latency when looking for
substitutes on

Thus, something like:

--8<---------------cut here---------------start------------->8---
$ sudo rm /nix/var/nix/substitute-binary/cache/*

$ time ./pre-inst-env guix build coreutils -n
The following files would be downloaded:
--8<---------------cut here---------------end--------------->8---

goes from 11.8s to 3.7s on my machine, with networking latency
artificially increased with

  sudo tc qdisc add dev eth0 root netem delay 1500ms

Before that there’d be at most one thread per core, which was silly.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]