MESSAGE
DATE | 2020-11-29 |
FROM | jc_gargma via artix-general
|
SUBJECT | Re: [Hangout - NYLXS] [artix-general] generating zstd compress
|
From hangout-bounces-at-nylxs.com Sun Nov 29 09:43:51 2020 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id C4082163FB5; Sun, 29 Nov 2020 09:43:50 -0500 (EST) X-Original-To: hangout-at-nylxs.com Delivered-To: hangout-at-nylxs.com Received: by mrbrklyn.com (Postfix, from userid 1000) id 0179E163F55; Sun, 29 Nov 2020 09:43:25 -0500 (EST) Resent-From: Ruben Safir Resent-Date: Sun, 29 Nov 2020 09:43:25 -0500 Resent-Message-ID: <20201129144325.GB4206-at-www2.mrbrklyn.com> Resent-To: hangout-at-nylxs.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from mail.artixlinux.org (mail.artixlinux.org [144.91.88.22]) by mrbrklyn.com (Postfix) with ESMTP id E274D163F55 for ; Sun, 29 Nov 2020 01:59:49 -0500 (EST) Received: from localhost.localdomain (localhost [127.0.0.1]) by mail.artixlinux.org (Postfix) with ESMTP id AC89CA21F98; Sun, 29 Nov 2020 07:59:48 +0100 (CET) X-Original-To: artix-general-at-artixlinux.org Delivered-To: artix-general-at-localhost Received: from mx.kolabnow.com (mx.kolabnow.com [95.128.36.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.artixlinux.org (Postfix) with ESMTPS id 97BD2A21F81 for ; Sun, 29 Nov 2020 07:59:46 +0100 (CET) Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 2A63FBEB for ; Sun, 29 Nov 2020 07:59:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:references:in-reply-to :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20160331; t=1606633185; x=1608447586; bh=GH+fLYw5W9SefYLQYo4na+/8Vjsfn9bUQi9mQdHC2H4=; b=Ii4x0NhWfu0r OvAHBLAxc5XDJaWNQ0s9rypz9sYSw/psKRE5yyuV5TlPe8BX5jWVpc+VSng/iFom UmvwB/3gQ5vfzXZ6I0As9JxIhecEgqhL5/lufja01deMxgeiSJDNtRe8oyqy1qVR Yn0GtzFr2yF4UMv5iQeaaoAZ9nKX3Wv1w0cDAjK8hJT8G37K39afRowVZ4ZyL+1T 8aVuzDdFTpT/cIUmNlk8tGQAsQby7s6qQsFtWwzBSH1dEqwMwXDInmILgkBQiV/y O4kEW4dEJm+9Hwob0J08wBjChCOuQCYZgc7pNj34xhuYU3dNgD/oLjgUezV4IFCR LnYTkbS3ZcQTJbgXJb4+RG0nDVGgm5e5oQ0vlH6UdZNjoh+1+YTa5tJWTGWEDTI4 aDssgKzGJhXlgdH6E5LGCGx+LVpycsLRdA1mIwStMScfruel/hPdPYytNRTilhuC Q/M+GYBX4vxMwVC42Zm7hxAnTQ6gxafF1jhI0gmEe2kGTCbZ4OMIeAuWeidwL9b+ 3nEmp1aeNrQZBY4gqEjANJf9bYbsldhoY0yGAhkQo9NDDQaj3ikritJ16oCBTDvy 1NxA6mMMGKiswlFFnvUgKeywgJ5HQjrzT4hw46utYSFcfqJ1J6De8LxK948Fmnbc ry90nRym/Ohp1i/vnWXQKIDv75HGdGY= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BfXcvmkyWlwD for ; Sun, 29 Nov 2020 07:59:45 +0100 (CET) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 893F8821 for ; Sun, 29 Nov 2020 07:59:44 +0100 (CET) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 3F48B49C for ; Sun, 29 Nov 2020 07:59:44 +0100 (CET) To: artix-general-at-artixlinux.org Date: Sat, 28 Nov 2020 22:59:35 -0800 Message-ID: <1655028.u80GFZz8BJ-at-iserlohn-fortress.net> In-Reply-To: References: <7633beb1-7faa-b164-ebbf-40885c8b8f90-at-e.email> <5446106.sXtsSlJIb2-at-iserlohn-fortress.net> MIME-Version: 1.0 X-BeenThere: artix-general-at-artixlinux.org X-Mailman-Version: 2.1.34 Precedence: list From: jc_gargma via artix-general Content-Type: multipart/mixed; boundary="===============6570872080473604211==" Subject: Re: [Hangout - NYLXS] [artix-general] generating zstd compress initrd images X-BeenThere: hangout-at-nylxs.com List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: jc_gargma Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
--===============6570872080473604211== Content-Type: multipart/signed; boundary="nextPart2445503.YVG33CpvNF"; micalg="pgp-sha512"; protocol="application/pgp-signature"
--nextPart2445503.YVG33CpvNF Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: jc_gargma To: artix-general-at-artixlinux.org Subject: Re: [artix-general] generating zstd compress initrd images Date: Sat, 28 Nov 2020 22:59:35 -0800 Message-ID: <1655028.u80GFZz8BJ-at-iserlohn-fortress.net> In-Reply-To: References: <7633beb1-7faa-b164-ebbf-40885c8b8f90-at-e.email> <5446106.sXtsSlJIb2-at-iserlohn-fortress.net>
Javier via artix-general wrote: > Shouldn't that be considered a bug?
Yes. The value of -Tn is ignored by mkintcpio. The values of --ultra and -n do not seem completely ignored, as the output image sizes are slightly different, but not in any notable amount considering the high settings. --ultra -22 is also not using the several GB of ram that it normally entails.
Javier via artix-general wrote: > When specified the amount of threads to use, shouldn't zstd actually at least be executed with that setting?
Unless the input is large enough, zstd does not spawn additional threads, regardless of the -Tn value. The number of threads can be indirectly increased by specifying a lower -Bn value. xz acts in a similar manner, which can also be worked around by passing a lower --block-size=n value. Where zstd -Bn is MB, and xz --block-size=n is bytes.
Javier via artix-general wrote: > What you experienced is only on artix (well, I don't have any arch box anymore)? > I don't see any arch bug related to mkinicpio btw... I installed archlinux on a spare system. Same results.
And I finally found out why. Viewing the full command shows mkinitcpio is appending -19 -T0 to all zstd calls, thus any use of -Tn or -n in mkinitcpio.conf is superseded.
-jc
--nextPart2445503.YVG33CpvNF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQTUQvHi+WpQBnAYf9XIyeGe2Ka2kgUCX8NG1wAKCRDIyeGe2Ka2 kneHAPsHLu+FrePBuzyDcSm6rh6QGrrceWpEaUtGsF+jiAtPZgD/eCGCY+4cmA// PVx7+R9y8eYpZgUbnoaaXwybUgYNEwg= =x/gZ -----END PGP SIGNATURE-----
--nextPart2445503.YVG33CpvNF--
--===============6570872080473604211== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
-- artix-general mailing list artix-general-at-artixlinux.org https://lists.artixlinux.org/listinfo/artix-general
--===============6570872080473604211== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============6570872080473604211==--
--===============6570872080473604211== Content-Type: multipart/signed; boundary="nextPart2445503.YVG33CpvNF"; micalg="pgp-sha512"; protocol="application/pgp-signature"
--nextPart2445503.YVG33CpvNF Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: jc_gargma To: artix-general-at-artixlinux.org Subject: Re: [artix-general] generating zstd compress initrd images Date: Sat, 28 Nov 2020 22:59:35 -0800 Message-ID: <1655028.u80GFZz8BJ-at-iserlohn-fortress.net> In-Reply-To: References: <7633beb1-7faa-b164-ebbf-40885c8b8f90-at-e.email> <5446106.sXtsSlJIb2-at-iserlohn-fortress.net>
Javier via artix-general wrote: > Shouldn't that be considered a bug?
Yes. The value of -Tn is ignored by mkintcpio. The values of --ultra and -n do not seem completely ignored, as the output image sizes are slightly different, but not in any notable amount considering the high settings. --ultra -22 is also not using the several GB of ram that it normally entails.
Javier via artix-general wrote: > When specified the amount of threads to use, shouldn't zstd actually at least be executed with that setting?
Unless the input is large enough, zstd does not spawn additional threads, regardless of the -Tn value. The number of threads can be indirectly increased by specifying a lower -Bn value. xz acts in a similar manner, which can also be worked around by passing a lower --block-size=n value. Where zstd -Bn is MB, and xz --block-size=n is bytes.
Javier via artix-general wrote: > What you experienced is only on artix (well, I don't have any arch box anymore)? > I don't see any arch bug related to mkinicpio btw... I installed archlinux on a spare system. Same results.
And I finally found out why. Viewing the full command shows mkinitcpio is appending -19 -T0 to all zstd calls, thus any use of -Tn or -n in mkinitcpio.conf is superseded.
-jc
--nextPart2445503.YVG33CpvNF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQTUQvHi+WpQBnAYf9XIyeGe2Ka2kgUCX8NG1wAKCRDIyeGe2Ka2 kneHAPsHLu+FrePBuzyDcSm6rh6QGrrceWpEaUtGsF+jiAtPZgD/eCGCY+4cmA// PVx7+R9y8eYpZgUbnoaaXwybUgYNEwg= =x/gZ -----END PGP SIGNATURE-----
--nextPart2445503.YVG33CpvNF--
--===============6570872080473604211== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
-- artix-general mailing list artix-general-at-artixlinux.org https://lists.artixlinux.org/listinfo/artix-general
--===============6570872080473604211== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============6570872080473604211==--
|
|