From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Compressing nars with lzip or similar Date: Fri, 14 Dec 2018 15:48:24 +0100 Message-ID: <874lbg2mh3.fsf_-_@gnu.org> References: <20181203154335.10366-1-ludo@gnu.org> <87tvju6145.fsf@gnu.org> <87ftv7l6gy.fsf@gmail.com> <87pnua244k.fsf@gnu.org> <65fa6be4-3ddc-703b-708d-e223c2474d0b@crazy-compilers.com> <87tvjgeb12.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXolV-00061p-6w for guix-devel@gnu.org; Fri, 14 Dec 2018 09:48:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXolU-00017Y-Aq for guix-devel@gnu.org; Fri, 14 Dec 2018 09:48:33 -0500 In-Reply-To: <87tvjgeb12.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Fri, 14 Dec 2018 10:02:33 +0100") 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: guix-devel@gnu.org, 33600@debbugs.gnu.org Pierre Neidhardt skribis: > Talking about this, I recently discussed with Ludovic the idea of compres= sing > nars in Lzip instead of gzip. > > http://lzip.nongnu.org/lzip.html (benchmark included) > > I can work on some Lzip guile-bindings, it should be quite easy, then we = could > save some 10-50% (!!!) disk usage. That would be sweet! Though we have to keep in mind that today=E2=80=99s =E2=80=98guix substitut= e=E2=80=99 doesn=E2=80=99t know about lzip at all (see (guix scripts substitute) and =E2=80=98call-with-decompressed-port=E2=80=99.) So while lzip would be my = preference, we may not be able to use it until we can be sure our users can actually unpack it. Ludo=E2=80=99. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXoly-0006lB-SH for guix-patches@gnu.org; Fri, 14 Dec 2018 09:49:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXoly-0001P3-2n for guix-patches@gnu.org; Fri, 14 Dec 2018 09:49:02 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:43188) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXolx-0001Ow-Uh for guix-patches@gnu.org; Fri, 14 Dec 2018 09:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gXolx-0000TN-RD for guix-patches@gnu.org; Fri, 14 Dec 2018 09:49:01 -0500 Subject: [bug#33600] Compressing nars with lzip or similar Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20181203154335.10366-1-ludo@gnu.org> <87tvju6145.fsf@gnu.org> <87ftv7l6gy.fsf@gmail.com> <87pnua244k.fsf@gnu.org> <65fa6be4-3ddc-703b-708d-e223c2474d0b@crazy-compilers.com> <87tvjgeb12.fsf@ambrevar.xyz> Date: Fri, 14 Dec 2018 15:48:24 +0100 In-Reply-To: <87tvjgeb12.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Fri, 14 Dec 2018 10:02:33 +0100") Message-ID: <874lbg2mh3.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Pierre Neidhardt Cc: guix-devel@gnu.org, Hartmut Goebel , 33600@debbugs.gnu.org Pierre Neidhardt skribis: > Talking about this, I recently discussed with Ludovic the idea of compres= sing > nars in Lzip instead of gzip. > > http://lzip.nongnu.org/lzip.html (benchmark included) > > I can work on some Lzip guile-bindings, it should be quite easy, then we = could > save some 10-50% (!!!) disk usage. That would be sweet! Though we have to keep in mind that today=E2=80=99s =E2=80=98guix substitut= e=E2=80=99 doesn=E2=80=99t know about lzip at all (see (guix scripts substitute) and =E2=80=98call-with-decompressed-port=E2=80=99.) So while lzip would be my = preference, we may not be able to use it until we can be sure our users can actually unpack it. Ludo=E2=80=99.