On 9/21/21 2:18 PM, Richard Purdie wrote: > On Tue, 2021-09-21 at 09:15 +0300, Ian Ray wrote: >> In order to be more efficient, we use xz as compression method >> to create GPL sources archives. >> >> Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.com> >> [V1 was https://patchwork.openembedded.org/patch/155985/] >> [Rebased] >> Signed-off-by: Ian Ray <ian....@ge.com> >> --- >> meta/classes/archiver.bbclass | 8 +++++--- >> 1 file changed, 5 insertions(+), 3 deletions(-) > Would it be better just to move to zstd and rather than making it > configurable, > just switch to the better compression format? > > Configurability is good but where there is a clear good choice, it may be > better > just to do that rather than giving too many options if they aren't really > needed?
I agree. We shouldn't add unnecessary complexity to the manuals ;-) By the way, zstd seems to be marginally worse (+1%) than xz in terms of compressed size, but is orders of magnitude faster (see https://archlinux.org/news/now-using-zstandard-instead-of-xz-for-package-compression/). I vote for zstd. Thanks for starting the discussion. Cheers, Michael. > > Cheers, > > Richard > > > > -- Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#156211): https://lists.openembedded.org/g/openembedded-core/message/156211 Mute This Topic: https://lists.openembedded.org/mt/85760412/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-