From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 03 10:18:02 2021 Received: (at 45460) by debbugs.gnu.org; 3 Jan 2021 15:18:02 +0000 Received: from localhost ([127.0.0.1]:38358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kw58s-0004GF-B1 for submit@debbugs.gnu.org; Sun, 03 Jan 2021 10:18:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kw58r-0004Fh-I5 for 45460@debbugs.gnu.org; Sun, 03 Jan 2021 10:18:01 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43589) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kw58m-0004fY-9z for 45460@debbugs.gnu.org; Sun, 03 Jan 2021 10:17:56 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33274 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kw58l-0004MA-DO; Sun, 03 Jan 2021 10:17:55 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: [bug#45460] [PATCH 0/5] Zstd support for 'guix publish' and 'guix substitute' References: <20201227141327.10827-1-ludo@gnu.org> <87bleb7i9u.fsf@gnu.org> Date: Sun, 03 Jan 2021 16:17:53 +0100 In-Reply-To: <87bleb7i9u.fsf@gnu.org> (Mathieu Othacehe's message of "Wed, 30 Dec 2020 10:30:37 +0100") Message-ID: <87y2hayrq6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45460 Cc: 45460@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Mathieu Othacehe skribis: >> Currently =E2=80=98guix substitute=E2=80=99 implements the same policy h= as before, >> which is to pick the smallest archive when several compression >> methods are proposed. The next step will be to make that >> configurable. >> >> Thoughts? > > Nice one! What do you have in mind to make it configurable? Pass the > preferred compression types to the daemon and propagate it to "guix > substitute"? I=E2=80=99m not sure. I thought that perhaps there could be: guix-daemon --download-strategy=3D[speed|bandwidth] where =E2=80=98bandwidth=E2=80=99 would always optimize for bandwidth and t= hus use the existing =E2=80=98file-size Once we have better visibility on zstd, I think we should consider > making those bindings mandatory for consistency with the other > Guile compression libraries. Yes. > Otherwise, the whole patchset seems fine :). Cool, thanks! I guess I=E2=80=99ll wait until Chris=E2=80=99 patch series = has landed before pushing it, or at least the bit that touches =E2=80=98guix substitut= e=E2=80=99. Ludo=E2=80=99.