From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 58520158020 for ; Wed, 12 Oct 2022 08:39:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12250E09A8; Wed, 12 Oct 2022 08:39:45 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D1AE6E09A1 for ; Wed, 12 Oct 2022 08:39:44 +0000 (UTC) From: Ulrich Mueller To: =?utf-8?B?TWljaGHFgiBHw7Nybnk=?= Cc: gentoo-dev@lists.gentoo.org, dist-kernel@gentoo.org, kernel@gentoo.org, Sam James Subject: Re: [gentoo-dev] [PATCH 6/8] kernel-build.eclass: compress xz/zstd in parallel In-Reply-To: <00db410812fe3614cddbce47c559b20ebdaccbd9.camel@gentoo.org> (=?utf-8?Q?=22Micha=C5=82_G=C3=B3rny=22's?= message of "Wed, 12 Oct 2022 06:46:03 +0200") References: <20221011225444.56032-1-sam@gentoo.org> <20221011225444.56032-6-sam@gentoo.org> <00db410812fe3614cddbce47c559b20ebdaccbd9.camel@gentoo.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Date: Wed, 12 Oct 2022 10:39:36 +0200 Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Archives-Salt: a3d9f360-c898-4b5e-b612-96a500d3b418 X-Archives-Hash: 9d2d6fb2c5a74f7e9379c7af6ef9f06d --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> On Wed, 12 Oct 2022, Micha=C5=82 G=C3=B3rny wrote: > (I mean, most of these files won't even use parallel compression > because they're too small). xz(1) says about the block size: "The default size is three times the LZMA2 dictionary size or 1 MiB, whichever is more." The default (-6) dictionary size is 8 MiB. So IIUC only files larger than 24 MiB would be compressed in parallel? Ulrich --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmNGfUgPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4uTjcIAKzam5grB51Dlwwn9oGF+ygEhTVvlMywTajE +XfHNUpSO5Zob/kO9cz4KieaTjjiq+iwSig/iFiONZfuIzadygKp9ltJGnh0TruB 49+x1GRc1qe+MnKD2ptg+NS7Yv3lnnM/WtGMHr/5NV2x7wZHkFvE+fou9e9Qi6Ry GdhJSyY+/XyMaAzaWgdIzQvprWjqK3DnEG8J8zwye57HxihKp5bPPwdoHTM+bhLK acMljNchHpufftOUqAX5sdv8abLFYc4asKfI2IAVt1EOWJVm3MvKVietNXB9Ds64 nQoGOzv0YrTMCHroqUaydfK+C3+jXrufeHZtTVx49Kt7j6CryaE= =AWej -----END PGP SIGNATURE----- --=-=-=--