From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUzUI-000098-Az for guix-patches@gnu.org; Thu, 06 Dec 2018 14:39:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUzUE-0007DY-Tr for guix-patches@gnu.org; Thu, 06 Dec 2018 14:39:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60035) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gUzUE-0007DM-No for guix-patches@gnu.org; Thu, 06 Dec 2018 14:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gUzUE-0000qM-D6 for guix-patches@gnu.org; Thu, 06 Dec 2018 14:39:02 -0500 Subject: [bug#33643] [PATCH] gnu-build-system: Enable xz to decompress in parallel. Resent-Message-ID: References: <20181206075615.4637-1-mail@cbaines.net> <20181206081352.GA31941@jasmine.lan> From: Christopher Baines In-reply-to: <20181206081352.GA31941@jasmine.lan> Date: Thu, 06 Dec 2018 19:38:21 +0000 Message-ID: <87o99yo382.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: Leo Famulari Cc: 33643@debbugs.gnu.org --=-=-= Content-Type: text/plain Leo Famulari writes: > On Thu, Dec 06, 2018 at 07:56:15AM +0000, Christopher Baines wrote: >> It can take a little while to decompress some packages with large xz >> compressed source tar files. xz includes support for parallelism, so enable >> this using the parallel job count for the overall derivation. > > The xz man page says that multi-threaded decompression isn't implemented > yet, unfortunately. Ah, interesting. Having a read myself now, it also says it: "will work on files that contain multiple blocks with size information in block headers. All files compressed in multi-threaded mode meet this condition, but files compressed in single- threaded mode don't even if --block-size=size is used." So, if -T was used to compress the data, then it sounds like it'll work to decompress it. I guess this adds a little more uncertainty to the benefit of this change, as the impact is dependent on the way the source data is compressed. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlwJeq1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfjuA/+JYvjr859j70wQsyAsuHlu+wkuCQuADaxdk5XAXmbMy2Mn4/mMTqpFT1S svDdmFjPwECUG/wtuV0fAgT13g351AMykXKonLnYaAz5gwkJO1avhfdkbenOMZw/ 6Qfd01hgPujP/dLZ630hE6oPaVsaYdSvgo4SYvOXTN2Q51gtASnLz7X92iX8L1cX 5C0qiqWr7OlWTuf81quTnrmOw8iUirhna5k++DY3UlEYhvWql8XGoWlWe4Kx+V41 8oKYm3XKrg+GqqfkCPlUDvRQIqYHMb65bFR/nzExgjRYgKOG+kYv2JQAsPlJTADi 5MKQNGJRBOtca06q0PAvYKpibyO5hKdxc29vF30mNj+91TBrlLBRItiGeeGSVD3m W6yrv/u5uc6RyxYqSgTVGp5C29aY6zjkKCXNeuOqTDX9CqebLYQtut6Fk9EvuaiE hf6SQcGU66mkTgKzmvEbLazctgzJpknOuPTSeebUj8M5r6EDL67FY6vzBH1ZHnK7 PO/91eMGqnHa9RHLgvKNZ42uQJLgBX5qv1WVHqn9xByYspwFjjf4HEzDbUHm+5HW vcpOGLE2AYvM2mKH/jKKOYZf9iW11l+Y96Hm969XZHvXnJLW4FwzRQCO5/Kz3iMk SvxmiDpt9qvAJ0PAo9vfCeP5O09L/dLKyVW286uGI4OH3gOmPXs= =ITch -----END PGP SIGNATURE----- --=-=-=--