From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8LyoMepJ4V68agAA0tVLHw (envelope-from ) for ; Wed, 10 Jun 2020 21:00:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id nqeALepJ4V49HgAAB5/wlQ (envelope-from ) for ; Wed, 10 Jun 2020 21:00:26 +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 46A5C940602 for ; Wed, 10 Jun 2020 21:00:26 +0000 (UTC) Received: from localhost ([::1]:58224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jj7pg-0007pw-Ul for larch@yhetil.org; Wed, 10 Jun 2020 17:00:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jj7pL-0007nm-Q9 for bug-guix@gnu.org; Wed, 10 Jun 2020 17:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52168) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jj7pL-0003Wr-9v for bug-guix@gnu.org; Wed, 10 Jun 2020 17:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jj7pL-0003lW-5g for bug-guix@gnu.org; Wed, 10 Jun 2020 17:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41794: Thoughts on using Zstd compression instead of lzip Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 10 Jun 2020 21:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41794 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: romulasry Cc: 41794@debbugs.gnu.org X-Debbugs-Original-Cc: 41794@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by 41794-submit@debbugs.gnu.org id=B41794.159182279514409 (code B ref 41794); Wed, 10 Jun 2020 21:00:03 +0000 Received: (at 41794) by debbugs.gnu.org; 10 Jun 2020 20:59:55 +0000 Received: from localhost ([127.0.0.1]:35476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jj7pD-0003kL-7C for submit@debbugs.gnu.org; Wed, 10 Jun 2020 16:59:55 -0400 Received: from tobias.gr ([80.241.217.52]:39652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jj7pA-0003k8-MS for 41794@debbugs.gnu.org; Wed, 10 Jun 2020 16:59:53 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id cc902910; Wed, 10 Jun 2020 20:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=uFAPsb+3ItGkVJ10JKrjgO 4ljvbtCuG8CXRtO2jdm/U=; b=dNF+N0v35JDXCx+FACc9rMvj47VZc0bL4mfDXt cnif5r8TX5gBj9KjPzoVvLa2n9zSMe70KF+ks8QMTjR3mjNbd+oEZeeH4YKVNiyu VhWbx+Njik2bE8662rEA+ZGaTrIiLNkd76Yo+9xCgUE/D8heg6xeyiRd++dBtaF8 5KM4GEVr/lqJmgW0FvtzHkrQtCuhmFMPF5hU94a9en+jLoVtUOcREzxbI8eH7Bzk 3ijSu13DLpcQV6Y4tNVGPKL9xXZ9vb7eBt4Vby4t5ozlZ1pM4tO5iFS9IUQZVjPg 12qw6v4FFNXM5ki/67gS5PzrB0KYTeAOCX0aeKUslwNXXShQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 6a2261ce (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 10 Jun 2020 20:59:57 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; References: In-reply-to: Date: Wed, 10 Jun 2020 22:59:44 +0200 Message-ID: <87eeqmr60v.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Tobias Geerinckx-Rice From: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tobias.gr header.s=2018 header.b=dNF+N0v3; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -0.11 X-TUID: KAp9D3iNQHaM --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Romulas, It's not clear where you want to see zstd used. Here's a trivial=20 patch to add Zstd to =E2=80=98guix pack=E2=80=99, if that's what you mean. I didn't submit it in the past because I dread bikeshedding the=20 compression level. -3 is the default, and compresses slightly=20 better than gzip in a fraction of the time. Kind regards, T G-R --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-pack-Add-zstd-compressor.patch Content-Transfer-Encoding: quoted-printable From=20fa2ead6ac0f6c005e6392d6073122c7191e08944 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 08 Nov 2019 09:03:27 +0100 Subject: [PATCH] pack: Add zstd compressor. * guix/scripts/pack.scm (%compressors): Add ztsd. =2D-- guix/scripts/pack.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm index 518bf6e7e3..5e71ca9c21 100644 =2D-- a/guix/scripts/pack.scm +++ b/guix/scripts/pack.scm @@ -4,6 +4,7 @@ ;;; Copyright =C2=A9 2018 Konrad Hinsen ;;; Copyright =C2=A9 2018 Chris Marusich ;;; Copyright =C2=A9 2018 Efraim Flashner +;;; Copyright =C2=A9 2019 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -81,6 +82,8 @@ #~(#+(file-append xz "/bin/xz") "-e")) (compressor "bzip2" ".bz2" #~(#+(file-append bzip2 "/bin/bzip2") "-9")) + (compressor "zstd" ".zst" + #~(#+(file-append zstd "/bin/zstd") "-3")) (compressor "none" "" #f))) =20 ;; This one is only for use in this module, so don't put it in %compressor= s. =2D-=20 2.26.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXuFJwAAKCRANsP+IT1Vt eYoBAQD+Xz1vLVyGgIhRPL5EDcK/Dc87Ag8CLMfXoSuNXDXILwD/fAXb2MzWkYb/ FX3NMHpUGl9jklzKOelhgtcLQwDzOQ4= =Ymr5 -----END PGP SIGNATURE----- --==-=-=--