Linux EFI Zboot Abandoning "Compression Library Museum", Focusing on Gzip, ZSTD
phoronix.com
phoronix.com
Everybody has their own tiny preference for one of the other but really… if it’s not embedded what is the impact?
> - GZIP is tried and tested, and is still one of the fastest at decompression time, although the compression ratio is not very high; moreover, Fedora is already shipping EFI zboot kernels for arm64 that use GZIP, and QEMU implements direct support for it when booting a kernel without firmware loaded;
> - ZSTD has a very high compression ratio (although not the highest), and is almost as fast as GZIP at decompression time.
Isn't that what the article is literally saying?
They aren't trying to get rid of badly performing compression algos, just ones that are effectively unused.
If you're using zstd and its decompression speed isn't at least twice as fast as gzip's, you're using it wrong.
It's a generalized statement of 'good enough'.
For other use cases I've personally never really found lz4 very useful (neither gzip). Usually zstd on either low/medium can be both faster (or at least, fast enough) and better compressed.
Though I use zstd on zfs datasets which I rarely read/write to i.e. backups.