unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: Speed difference: wget vs guix build
Date: Wed, 06 May 2015 10:53:50 +0200	[thread overview]
Message-ID: <877fsmulwh.fsf@gnu.org> (raw)
In-Reply-To: <87383aw77m.fsf@mango.localdomain> (Ricardo Wurmus's message of "Wed, 6 May 2015 08:28:13 +0200")

Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:

>     [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)

Beware: wget shows the “instantaneous” throughput, whereas Guix shows
the average throughput since the beginning.  So to be sure, you need to
make a full download.  Also, please compare not only against ‘guix
substitute’ but also against ‘guix download’.

Regardless, I don’t see anything like that here.  Commit c822fb8 may
help a bit; could you retry?

Commit 7623848 helps for source derivations and ‘guix download’ for
Guile <= 2.0.11, but it shouldn’t make any difference for ‘guix
substitute’.

Thanks for the report,
Ludo’.

      reply	other threads:[~2015-05-06  8:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-06  6:28 Speed difference: wget vs guix build Ricardo Wurmus
2015-05-06  8:53 ` Ludovic Courtès [this message]

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=877fsmulwh.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ricardo.wurmus@mdc-berlin.de \
    /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).