Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#68470 - [mkinitcpio] zstd -19 is slow
Attached to Project:
Arch Linux
Opened by Oleksandr Natalenko (post-factum) - Thursday, 29 October 2020, 22:57 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Tuesday, 05 January 2021, 18:48 GMT
Opened by Oleksandr Natalenko (post-factum) - Thursday, 29 October 2020, 22:57 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Tuesday, 05 January 2021, 18:48 GMT
|
Detailsmkinitcpio v29 came with zstd support (yay \o/), but the default compression level is -19, which is horribly slow even on my 12c/24t Zen 2.
Please consider lowering the compression level at least to -10. Thanks. |
This task depends upon
Closed by Giancarlo Razzolini (grazzolini)
Tuesday, 05 January 2021, 18:48 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented by https://github.com/archlinux/mkinitcpio/ issues/40
Tuesday, 05 January 2021, 18:48 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented by https://github.com/archlinux/mkinitcpio/ issues/40
Although in my opinion the compression level should not be preset in mkinitcpio, because zstd is meant for speed and -19 is a lot slower than gzip, even with -T0. Anyway, the proposed fix allows to override the default, whatever it is. So with the fix the default -19 can be kept.