From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id B07173858D38 for ; Fri, 11 Nov 2022 21:48:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B07173858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Content-Type: multipart/signed; boundary="Apple-Mail=_D24A9438-D0FD-4DD6-98B7-813031E7DCE1"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: [PATCH] maintainer-scripts/gcc_release: compress xz in parallel From: Sam James In-Reply-To: <20221108071438.2523863-1-sam@gentoo.org> Date: Fri, 11 Nov 2022 21:48:19 +0000 Cc: Gerald Pfeifer , Jakub Jelinek , Jeff Law Message-Id: References: <20221108071438.2523863-1-sam@gentoo.org> To: gcc-patches@gcc.gnu.org X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --Apple-Mail=_D24A9438-D0FD-4DD6-98B7-813031E7DCE1 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On 8 Nov 2022, at 07:14, Sam James wrote: > > 1. This should speed up decompression for folks, as parallel xz > creates a different archive which can be decompressed in parallel. > > Note that this different method is enabled by default in a new > xz release coming shortly anyway (>= 5.3.3_alpha1). > > I build GCC regularly from the weekly snapshots > and so the decompression time adds up. > > 2. It should speed up compression on the webserver a bit. > > Note that -T0 won't be the default in the new xz release, > only the parallel compression mode (which enables parallel > decompression). > > -T0 detects the number of cores available. > > So, if a different number of threads is preferred, it's fine > to set e.g. -T2, etc. > > Signed-off-by: Sam James > --- > maintainer-scripts/gcc_release | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Given no disagreements, anyone fancy pushing this in time for Sunday evening for the next 13 snapshot? ;) --Apple-Mail=_D24A9438-D0FD-4DD6-98B7-813031E7DCE1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCY27DJl8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MAAKCRBzhAn1IN+R kFamAP9ENuSHCx69Xq+2tsLGSr5lRflJfq6s6UzaggfktCcbjQD+OlRv1WtoMd/h 49a9Ill4e8oeaGb4Sq24euH89tQUeAM= =7YLS -----END PGP SIGNATURE----- --Apple-Mail=_D24A9438-D0FD-4DD6-98B7-813031E7DCE1--