From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czWJX-0003Jv-1q for guix-patches@gnu.org; Sat, 15 Apr 2017 18:37:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czWJT-0006Hy-48 for guix-patches@gnu.org; Sat, 15 Apr 2017 18:37:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51279) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czWJT-0006Hr-0P for guix-patches@gnu.org; Sat, 15 Apr 2017 18:37:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1czWJS-00025X-Or for guix-patches@gnu.org; Sat, 15 Apr 2017 18:37:02 -0400 Subject: bug#26316: Enable threaded compression of source tarballs Resent-To: guix-patches@gnu.org Resent-Message-ID: Date: Sat, 15 Apr 2017 18:35:58 -0400 From: Leo Famulari Message-ID: <20170415223558.GA20274@jasmine> References: <20170330221715.GA10357@jasmine> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <20170330221715.GA10357@jasmine> 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: 26316-done@debbugs.gnu.org --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 30, 2017 at 06:17:15PM -0400, Leo Famulari wrote: > This patch enables multi-threaded xz compression in the repacking stage > of building source tarballs. >=20 > With it applied, I get a ~2.2x speedup building the source of > linux-libre with 4 threads, compared to 1 thread. >=20 > Specifically, with the upstream linux-libre tarball in the page cache, > `guix build -S linux-libre` took ~366 seconds using a single thread for > xz, and ~164 seconds using 4 threads. > From 78547a09e50440c649c3d28d7691f32fdd47cc25 Mon Sep 17 00:00:00 2001 > From: Leo Famulari > Date: Thu, 30 Mar 2017 03:10:48 -0400 > Subject: [PATCH] packages: Enable threaded compression of source tarballs. >=20 > This provides a ~2x speedup when using 4 threads. >=20 > * guix/packages.scm (patch-and-repack)[build]: Invoke xz with > '--threads=3D0' when re-packing tarballs. I pushed this to core-updates as c8a3dea847bb9f87fa1876d0c6c3356d6226f121. --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAljyoE4ACgkQJkb6MLrK fwgtORAAwRJijd1s0a8TGZRGPsgIwbWxNG7kU4fftfHXMQGhTJNhuP8coCj9zGZw cIr/uWCQw64nVsyunyVGj2m44F70QIvCJOo/9Ctog/WGLBfY6mnhuC1XsbBslFcE 0E8gPDzh+hvx/ApmWWmxSWGtET0udq6QPYguVQm3LIjMvioIfIGUtHFrsCs6GsOs P4rqQI20nVMBxgcioop+ezAzgzLMap8t6ba1MtHs7wWv74WVMYLM7/qEi+JYP6rG bzVQ/9tmAsUleLqcOUZGMiGxPWxi0h8u1QLETAc/00vdlwRs5AkWuyrUv5YO3QkY bkE6bOP5SBfX+l8EqpD1ZXTO+vbpGD9IaZTjPUzOqa9+ft4XVVYk6+1j4m2GzzEP ta9JW0kY5ushPhEDRL118sY+3Vsrs8s5nIf69D9wHdqmUAq7KH84TowxKSbxhmeU Q/DXDUnauS1+E6vS+T76ppRHjgC3QdCkqMtfEO0WQv7AAKsgNKFn1xeDxehrM25z p53keqPD206SFe4HpY1WF2+/Ly5JYK90TaHDLjs5FzVg0Xi3EAg+2dgObMA8jL3q hdhEjODgomkMwlSPEtLbNZoH2HyIMWcO7qTXV/2WYPEo+DFkNgoT6yYRyS0FscmQ a3+E11ubv71BeepiT/gDamqi0yXwqCjuOicBeMYIHQD3uSVzBtM= =6K3L -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--