[artix-general] generating zstd compress initrd images

Javier je-vv at e.email
Sun Nov 29 02:15:30 CET 2020


Has anyone experienced generating zstd compressed initrd images?  As soon as that was made available by both, linux and mkinitcpio, I moved to it, since I wanted to have similar compression to the one provided by gzip, but with faster compression/decompression rates.  I have:

> % 'grep' '^[^#]' /etc/mkinitcpio.conf                                                                                                                                                                                              
> MODULES=(i915)
> BINARIES=()
> FILES=()
> HOOKS=(base udev block autodetect modconf keyboard keymap encrypt lvm2 resume filesystems fsck)
> COMPRESSION="zstd"
> COMPRESSION_OPTIONS=(-T$(nproc --ignore 1))

As you can see, I'm trying to also take advantage of multi-threading for zstd compression.  However what I've experienced is a pretty slow initrd image generation.  I'm not sure if I'm having something misconfigured.  Has any one tried using zstd and specified number of threads to use for it?

Thanks !

-- 
Javier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x4D6C8D58AD385CAA.asc
Type: application/pgp-keys
Size: 894 bytes
Desc: not available
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20201128/4110fe83/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20201128/4110fe83/attachment-0001.sig>


More information about the artix-general mailing list