From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: Guix-devel <guix-devel@gnu.org>
Subject: Speed difference: wget vs guix build
Date: Wed, 6 May 2015 08:28:13 +0200 [thread overview]
Message-ID: <87383aw77m.fsf@mango.localdomain> (raw)
Hi Guix,
a few weeks ago I noticed that the download of binary substitutes is
fairly slow when it is performed from within "guix build" compared with
wget:
[rwurmus@guix-builder:~] (557) $ time wget http://hydra.gnu.org/nar/h1qjkg8bvcdb485q81lw5844szgywpg7-texlive-texmf-2014
--2015-05-06 08:20:38-- http://hydra.gnu.org/nar/h1qjkg8bvcdb485q81lw5844szgywpg7-texlive-texmf-2014
Resolving hydra.gnu.org (hydra.gnu.org)... 18.4.89.46
Connecting to hydra.gnu.org (hydra.gnu.org)|18.4.89.46|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-nix-archive]
Saving to: ‘h1qjkg8bvcdb485q81lw5844szgywpg7-texlive-texmf-2014.1’
[ <=> ] 761,111,979 4.17MB/s
The speed ranges from ~4MB/s to 7MB/s with wget.
With guix build, however, I get much less on the same host:
[rwurmus@guix-builder:/localhome/rwurmus-tmp/guix] (557) $ ./pre-inst-env guix build texlive-texmf-2014
The following file will be downloaded:
/gnu/store/h1qjkg8bvcdb485q81lw5844szgywpg7-texlive-texmf-2014
@ substituter-started /gnu/store/h1qjkg8bvcdb485q81lw5844szgywpg7-texlive-texmf-2014 /usr/libexec/guix/substitute
found valid signature for '/gnu/store/h1qjkg8bvcdb485q81lw5844szgywpg7-texlive-texmf-2014', from 'http://hydra.gnu.org/nar/h1qjkg8bvcdb485q81lw5844szgywpg7-texlive-texmf-2014'
downloading `/gnu/store/h1qjkg8bvcdb485q81lw5844szgywpg7-texlive-texmf-2014' (3391.2 MiB installed)...
http://hydra.gnu.org/nar/h1qjkg8bvcdb485q81lw5844szgywpg7-texlive-texmf-2014 124344.0 KiB transferred (321. KiB/s)
Is this expected?
~~ Ricardo
next reply other threads:[~2015-05-06 6:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-06 6:28 Ricardo Wurmus [this message]
2015-05-06 8:53 ` Speed difference: wget vs guix build Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87383aw77m.fsf@mango.localdomain \
--to=ricardo.wurmus@mdc-berlin.de \
--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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).