3 ms·
gzip would seem to be a surprising runner up as its decompression cpu load is reportedly around 3-4 times as heavy as zstd:1 with a similar compression ratio. I
by strainer 5y ago
gzip would seem to be a surprising runner up as its decompression cpu load is reportedly around 3-4 times as heavy as zstd:1 with a similar compression ratio.
I would not rule zstd out, it seems to better every alternative given the right level setting, except lz4 which is the outlier but fixed at a relatively low compression level.
As the high performing outlier it tantalisingly suggests room for improvements :]
- ahartmetz 5y agoAt least older Linux (the kernel) versions don't support zstd compression (for the kernel image itself), that's why it was not part of the experiment.
- strainer 5y agoI read it was only mainlined last year following this thread[1] where a kernel dev presented benchmarks and advised "zstd is an improvement on almost all metrics" Of course zstd somewhat of a portfolio project of facebook developers, and they seem to have integrated it quite nicely into Btrfs to atone for their debt to society - I'll take that :D [1] https://lore.kernel.org/lkml/1588791882.08g1378g67.none@localhost/T/ https://lore.kernel.org/lkml/1588791882.08g1378g67.none@loca...