From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 10 16:59:55 2020 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; From: Tobias Geerinckx-Rice To: romulasry Subject: Re: bug#41794: Thoughts on using Zstd compression instead of lzip 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-Debbugs-Envelope-To: 41794 Cc: 41794@debbugs.gnu.org, bug-guix@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 (---) --==-=-= 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----- --==-=-=--