From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4CEbBHfg8V8BWwAA0tVLHw (envelope-from ) for ; Sun, 03 Jan 2021 15:19:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aPfiOnbg8V9ACQAAbx9fmQ (envelope-from ) for ; Sun, 03 Jan 2021 15:19:18 +0000 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 C1890940481 for ; Sun, 3 Jan 2021 15:19:18 +0000 (UTC) Received: from localhost ([::1]:36978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kw5A5-0008PA-Oc for larch@yhetil.org; Sun, 03 Jan 2021 10:19:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kw59q-0008Ov-3f for guix-patches@gnu.org; Sun, 03 Jan 2021 10:19:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kw59p-0004zK-SB for guix-patches@gnu.org; Sun, 03 Jan 2021 10:19:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kw59p-0004Hj-Od for guix-patches@gnu.org; Sun, 03 Jan 2021 10:19:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45460] [PATCH 0/5] Zstd support for 'guix publish' and 'guix substitute' Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 Jan 2021 15:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45460 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Received: via spool by 45460-submit@debbugs.gnu.org id=B45460.160968708216387 (code B ref 45460); Sun, 03 Jan 2021 15:19:01 +0000 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45460@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.83 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: C1890940481 X-Spam-Score: -2.83 X-Migadu-Scanner: scn1.migadu.com X-TUID: /VMK8fSvcs2+ 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.