From: ludo@gnu.org (Ludovic Courtès)
To: guix-devel@gnu.org
Subject: Reduced substitute-binary latency
Date: Fri, 08 Nov 2013 22:58:11 +0100 [thread overview]
Message-ID: <87ob5utv2k.fsf@gnu.org> (raw)
Commit 50dc489 does the obvious thing to reduce latency when looking for
substitutes on hydra.gnu.org.
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:
/nix/store/bm7rzxnmlgprx0i5jfmpwvrc5h5cq6y4-coreutils-8.21
/nix/store/xwaywgm456l9f3skjsviphrp6dc9h002-coreutils-8.21-debug
--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.
Ludo’.
reply other threads:[~2013-11-08 22:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ob5utv2k.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.