From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iJWbKKEid2TnHQEASxT56A (envelope-from ) for ; Wed, 31 May 2023 12:34:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WOB7KKEid2QdzAAA9RJhRA (envelope-from ) for ; Wed, 31 May 2023 12:34:09 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7F6F138B37 for ; Wed, 31 May 2023 12:34:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4J8h-0007E6-Kx; Wed, 31 May 2023 06:33:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4J8f-0007C8-HJ for guix-devel@gnu.org; Wed, 31 May 2023 06:33:09 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q4J8d-00042O-Ju; Wed, 31 May 2023 06:33:09 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f3284dff6cso10552495e9.0; Wed, 31 May 2023 03:33:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685529186; x=1688121186; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=iZuQZqmvwKG5Me5fEkuPRG7EycC7kmqPnw6JNvQLxAU=; b=Amp/OkcKo8rrHoegTLfyVWQ99s/gMqyJtLpqwn3ASjUKJXjWY+NWniUETMX9AU9KXG 5nGrfTUmrCYKmZlI/0LGp4wVYx+LtQVBCRoqYenhlhSH5Chg1+1wpzJ5ZPqfhD7jjFF9 PrA7/ZiZExV6umLpHnBj7+hRpvyHhMu/DXwIfL+HTs130BxIDdqeHtkfTpV9wzkWBQp3 6Bc+fom3pU7uwMhK60XVAoR8mqGynCv7FErlq4eRV34MOh+807d9dc4L4iLi+llI3Zmc darMMI+zaV4AbdpH38mqZHwpSo4OJVYOQ88/94ttMMCPiCRg6VGynPhkMR5sn5W9Q1GO mxHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685529186; x=1688121186; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iZuQZqmvwKG5Me5fEkuPRG7EycC7kmqPnw6JNvQLxAU=; b=fnxzTILuCf2TpfQ0oxnTqA7Jk5jsKGtiaTQJmabAkmnwpTgaBppa7aIqyhuiYv0I96 tStemi59e7ebxfU98hrZz0DibzmxhPBG2HcibLNyBju5+fJ70QgnwBtDwnpEizHtZV7k xnncNNdporNd8AUnXWKZGVRoVAlLYcEKP1chk3IOWx/H/q4VjnJ56AL3MhfuXR7d+yAi 83ji7Cwauy/v8kYH86rdKnbMy6NI5eEqPTPI0mb3ryRNPkZyW5I3sONWwQDAz3Ce1I3G 4qz06MreHTWFNuTXX1ARhH+0qMSM8BiDA5Rp+ltyUoy7SF+zwHyUUS4BZmg2ojRWfiF1 pW+A== X-Gm-Message-State: AC+VfDzcfQguAnQOAEZlNYCxdwAh09IZmYO2o5uW9ud55+A8BqBxQ3fs 6t4g/XoYh6QHBVEYCGtZtxk9Bhgry9w= X-Google-Smtp-Source: ACHHUZ6XU98V5A0pKFDHcXV0qDh4nD2eveAXBLDrLMCqx/w3FroU5lcIMckEhnFXsEb2vZQVN2RcXg== X-Received: by 2002:a05:600c:1c1d:b0:3f1:7490:e595 with SMTP id j29-20020a05600c1c1d00b003f17490e595mr1694802wms.2.1685529185809; Wed, 31 May 2023 03:33:05 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id 10-20020a05600c228a00b003f42461ac75sm23802156wmf.12.2023.05.31.03.33.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 03:33:05 -0700 (PDT) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Andreas Enge Cc: Christopher Baines , guix-devel@gnu.org Subject: Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors In-Reply-To: <87353jjcwu.fsf@gnu.org> References: <87bki84hxi.fsf@cbaines.net> <87353jjcwu.fsf@gnu.org> Date: Wed, 31 May 2023 12:24:53 +0200 Message-ID: <86sfbcol1m.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685529249; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=iZuQZqmvwKG5Me5fEkuPRG7EycC7kmqPnw6JNvQLxAU=; b=M7bFVzoz620qq7D4nFwBSHe8adWBGFcG362TVYSAVHlMWDSuIBFmS9xOU1fpfiera/MsyP e1TK9Sv8lal+yJZ42WC9V84hDkLP6RkZZfUCYJOYKLHZhiRGddygVsGU3HBN1U/j97YUdi W9pgBye4/90GvbuAxb13oHMuS0tPMnN5HevV4kVDSV2OwlkrpPZxBZulF7iXg17GGrKW52 y++znmrqhodX6AQloXEneAWEI9dVo9CwRfZr8LLwZPzacI+F6gSV2UGHwqOIKfETEwEapF Mk5DXVIWD1sXMoSQtJ3eyfqS815zJPsFc80y+oNRFMrCXfHfoe/jRrNLVG3+fA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="Amp/OkcK"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685529249; a=rsa-sha256; cv=none; b=At7NGSaHolXZgDaFawgyKGI3sxzEzleq2wKF057b86e7cS2zWOTR50Yta8s0NXxh4j4iWK f/o6SGnxYSQwh5/6AcPwzRtzQkpZt9XNvIzmpl8fMq+KaK7vD5R/RyAJhf6a0sq2qLhtj6 tbOF6q+1NtZdKrUYnr9e1Cc0adk2R6f5OrDiptv01sjabUxLQgXNfwbaiDQfeWb1r9DZYy 6Ckx58dCgusLMLqmI0cCDcrhVTzuAP9c1p1wP6ha0A+5yG+ZxZJkKr1N8SD4oN+v8dO1u/ UCoAa9drV+1ctLXsqNOlVjT0wGsqgj32s1KXwhAx+b0Vd9Gh8ZFg/Ib5N6nvlA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="Amp/OkcK"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7F6F138B37 X-Spam-Score: -6.31 X-TUID: ZNdyyEdAiM6s Hi Ludo, all, On Fri, 26 May 2023 at 18:05, Ludovic Court=C3=A8s wrote: > 2023-05-26 17:59:41 (75.0 MB/s) - =E2=80=98/dev/null=E2=80=99 saved [2086= 15205/208615205] > 2023-05-26 18:01:16 (16.1 MB/s) - =E2=80=98/dev/null=E2=80=99 saved [2086= 15205/208615205] > 2023-05-26 18:02:49 (5.88 MB/s) - =E2=80=98/dev/null=E2=80=99 saved [2086= 15205/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 =E2=80=9Cguix pull=E2=80=9D, it=E2=80=99s 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 =E2=80=9Cguix pull=E2=80=9D very barely on this laptop and thus it= means the next =E2=80=9Cguix pull=E2=80=9D will probably take longer. And I do not s= peak 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 =E2=80=93 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 =E2=80=9Cguix pull= =E2=80=9D. I do not have a clear idea of the solution, that=E2=80=99s why I have opened = the discussion. :-) Another example is the =E2=80=9CGit pulling twice=E2=80=9D= 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=E2=80=99s= the future. Cheers, simon