Bug#942144: Enable multithreading on xz compression
Package: initramfs-tools-core
Version: 0.135
Severity: wishlist
Dear Maintainer,
maybe you can enable multithreading these days when the initrd is
compressed with xz. Multi cores are widespread and I use it for quite
some time. Also I use weaker compression level making it faster (and
using less memory) without affecting the size too much.
I just changed line 155 from
[ "${compress}" = xz ] && compress="xz --check=crc32"
to this one
[ "${compress}" = xz ] && compress="xz -1 --threads=0 --check=crc32"
Best regards
Stefan Kühn
Reply to: