unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>, "Andreas Enge" <andreas@enge.fr>
Cc: Christopher Baines <mail@cbaines.net>, guix-devel@gnu.org
Subject: Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors
Date: Wed, 31 May 2023 12:24:53 +0200	[thread overview]
Message-ID: <86sfbcol1m.fsf@gmail.com> (raw)
In-Reply-To: <87353jjcwu.fsf@gnu.org>

Hi Ludo, all,

On Fri, 26 May 2023 at 18:05, Ludovic Courtès <ludo@gnu.org> wrote:

> 2023-05-26 17:59:41 (75.0 MB/s) - ‘/dev/null’ saved [208615205/208615205]
> 2023-05-26 18:01:16 (16.1 MB/s) - ‘/dev/null’ saved [208615205/208615205]
> 2023-05-26 18:02:49 (5.88 MB/s) - ‘/dev/null’ saved [208615205/208615205]

Arf, I understand why Guix is not frugal. ;-)

In the worst case, considering you need all the 610MB of the closure,
when you run “guix pull”, it’s less than 10 seconds.

Using my network at home, the same is about 20 minutes.

(And that leads to some vicious circles: because it needs some time and
because I do not have the guarantee that the packages I need will build,
so I run “guix pull” very barely on this laptop and thus it means the
next “guix pull” will probably take longer.  And I do not speak about
other I/O bounds or CPU power. :-))


As I said elsewhere, Guix is becoming unusable for me with my 8 years
laptop at home with some non-fiber network.  Bah, an opportunity to turn
off and do something else?  ;-)

And as I also said elsewhere, the ROADMAP for the next 10 years of Guix
is to tackle all these inefficiencies – from suboptimal designs to
specific optimizations.  Well, I run Guix on the top of Debian on this
laptop, and I do not experiment the same annoyances with APT, really
not.

The thread,

    How many bytes do we add (closure of guix) when adding one new package?
    Thu, 25 May 2023 20:24:30 +0200
    id:87r0r4uv4x.fsf@gmail.com
    https://yhetil.org/guix/87r0r4uv4x.fsf@gmail.com

is an attempt to discuss the suboptimality by design of “guix pull”.  I
do not have a clear idea of the solution, that’s why I have opened the
discussion. :-)  Another example is the “Git pulling twice” when
installing, e.g., as pointed by Pierre in this thread:

    Install `guix pull'ed Guix to target partition on system install
    Sun, 20 Dec 2020 10:12:42 +0100
    id:87ft403kol.fsf@ambrevar.xyz
    https://yhetil.org/guix/87ft403kol.fsf@ambrevar.xyz


For sure, we need to make Guix do more with less resources.  That’s the
future.

Cheers,
simon


  reply	other threads:[~2023-05-31 10:34 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
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 [this message]
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

  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=86sfbcol1m.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    --cc=ludo@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 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).