Originally posted by murlakatamenka
View Post
To add to my earlier post:
Zstd 3 374MB
mkinitcpio -P 0.00s user 0.00s system 0% cpu 13.715 total
Zstd 10 342MB
mkinitcpio -P 0.01s user 0.00s system 0% cpu 17.080 total
Zstd 22 308MB
mkinitcpio -P 0.00s user 0.01s system 0% cpu 3:50.52 total
Going ultra in and of itself nearly doubles the time from 19 to 20, 48 secs to 1:57, for the minuscule compression gains of 4MB. Using 22, the extra 3 minutes in compression time for 8MB saved over Zstd 19 isn't worth it for personal-use kernel images. It's not like I'm distributing Zstd compressed files to massive amounts of people.
Zstd 19 316MB
mkinitcpio -P 0.01s user 0.00s system 0% cpu 48.115 total
Zstd 20 312MB
mkinitcpio -P 0.00s user 0.01s system 0% cpu 1:57.11 total
Those results are why I go with 10. Good enough compression without being noticeably slower than the default level. 19 isn't a bad level to use, either.
That's on a 7800X3D with schedutil running Linux 6.6.2-3 with Zstd 1.5.5. I ran Zstd 19 with both performance and schedutil and this was the performance results:
Zstd 19 w/ Performance
mkinitcpio -P 0.00s user 0.01s system 0% cpu 48.276 total
Comment