all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Philip McGrath" <philip@philipmcgrath.com>
To: "mail@cbaines.net" <mail@cbaines.net>, guix-devel@gnu.org
Subject: Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors
Date: Thu, 25 May 2023 16:48:58 -0400	[thread overview]
Message-ID: <e75bf0db-9424-4c8c-8cc0-f79f5c6b35bc@app.fastmail.com> (raw)
In-Reply-To: <87bki84hxi.fsf@cbaines.net>

Hi,

On Thu, May 25, 2023, at 9:52 AM, Christopher Baines wrote:
> Hey!
>
> I was reminded again about substitute download speeds outside of Europe
> again today.
>
> There was some feedback when I sent out a message to guix-devel [1], [2]
> a while back. I think the rough summary is that there's anecdotal
> evidence that a US mirror helps.
>
> 1: https://lists.gnu.org/archive/html/guix-devel/2022-05/msg00203.html
> 2: https://lists.gnu.org/archive/html/guix-devel/2022-07/msg00163.html

Thanks again for setting this up! The us-east mirror makes a big difference for me. The wget output is below, but anecdotally, last week, when I installed Guix on a new Debian installation, my first `guix pull` failed maybe three times due to substitute timeouts before I enabled the mirror. After enabling the mirror, it succeed on the first attempt.

Tangentially, a few months ago I was using a very poorly connected network that had the additional annoying property of disconnecting every 10 minutes or so. I got stuck downloading the beginning of one large nar enough times that eventually I gave up. I found, though, that `wget -c` was able to complete the download (though it took several attempts). Adding some similar resume functionality might at least help to mitigate the impact of slow downloads.

>
> France:    wget 
> https://bordeaux.guix.gnu.org/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0
> US:        wget 
> https://bordeaux-us-east-mirror.cbaines.net/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0
> Singapore: wget 
> https://bordeaux-singapore-mirror.cbaines.net/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0
>
>
> So please share the output from wget and if you're comfortable doing so,
> the rough real world location of where the computer doing the
> downloading is.
>

Here are results from Florida, US:

philip@avalon:/tmp$ wget https://bordeaux.guix.gnu.org/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0
--2023-05-25 16:27:53--  https://bordeaux.guix.gnu.org/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0
Resolving bordeaux.guix.gnu.org (bordeaux.guix.gnu.org)... 185.233.100.56, 2a0c:e300::58
Connecting to bordeaux.guix.gnu.org (bordeaux.guix.gnu.org)|185.233.100.56|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 208615205 (199M) [text/plain]
Saving to: ‘078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0’

078vr3r8mn3yrwzwxw 100%[=============>] 198.95M  10.1MB/s    in 13s     

2023-05-25 16:28:07 (14.9 MB/s) - ‘078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0’ saved [208615205/208615205]

philip@avalon:/tmp$ wget https://bordeaux-us-east-mirror.cbaines.net/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0
--2023-05-25 16:28:49--  https://bordeaux-us-east-mirror.cbaines.net/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0
Resolving bordeaux-us-east-mirror.cbaines.net (bordeaux-us-east-mirror.cbaines.net)... 5.161.49.48
Connecting to bordeaux-us-east-mirror.cbaines.net (bordeaux-us-east-mirror.cbaines.net)|5.161.49.48|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 208615205 (199M) [text/plain]
Saving to: ‘078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0.1’

078vr3r8mn3yrwzwxw 100%[=============>] 198.95M  55.8MB/s    in 3.8s    

2023-05-25 16:28:53 (52.9 MB/s) - ‘078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0.1’ saved [208615205/208615205]

philip@avalon:/tmp$ wget https://bordeaux-singapore-mirror.cbaines.net/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0
--2023-05-25 16:29:17--  https://bordeaux-singapore-mirror.cbaines.net/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0
Resolving bordeaux-singapore-mirror.cbaines.net (bordeaux-singapore-mirror.cbaines.net)... 64.176.80.78, 2401:c080:1400:71df:5400:4ff:fe73:757d
Connecting to bordeaux-singapore-mirror.cbaines.net (bordeaux-singapore-mirror.cbaines.net)|64.176.80.78|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 208615205 (199M) [text/plain]
Saving to: ‘078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0.2’

078vr3r8mn3yrwzwxw 100%[=============>] 198.95M  11.4MB/s    in 19s     

2023-05-25 16:29:37 (10.5 MB/s) - ‘078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0.2’ saved [208615205/208615205]


  parent reply	other threads:[~2023-05-25 20:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-25 13:52 Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors Christopher Baines
2023-05-25 14:42 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-25 15:25 ` Vagrant Cascadian
2023-05-25 15:49 ` Luis Felipe
2023-05-26 17:45   ` Luis Felipe
2023-05-31 10:48     ` Christopher Baines
2023-05-31 15:29       ` Luis Felipe
2023-05-31 16:35         ` Christopher Baines
2023-05-25 20:48 ` Philip McGrath [this message]
2023-05-25 21:04   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-26 22:03     ` Philip McGrath
2023-05-26  7:45 ` Andreas Enge
2023-05-26 16:05   ` Ludovic Courtès
2023-05-31 10:24     ` Simon Tournier
2023-05-26 12:42 ` 宋文武
2023-05-26 12:48 ` Maxim Cournoyer
2023-05-26 18:28 ` Kaelyn
2023-05-26 18:52   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-05-29 12:07 ` Efraim Flashner
2023-05-31  9:37 ` Simon Tournier

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=e75bf0db-9424-4c8c-8cc0-f79f5c6b35bc@app.fastmail.com \
    --to=philip@philipmcgrath.com \
    --cc=guix-devel@gnu.org \
    --cc=mail@cbaines.net \
    /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.