LZ4 (Compression)

an Extremely Fast Compression Algorithm - github / HN

  • LZ4 has branchless decompression, and lower cache footprint, thus it can work on low end, and non-desktop CPUs equally well. zstd, brotly, snappy were seemingly all made with high end x86 capabilities in mind. - HN

Notes

  • LZ4 is so fast there’s almost no reason to NOT have it on for zfs volumes. - HN
    • For (low) bandwidth metrics yes, for any kind of latency sensitive workload not really.
    • I guess what a lot of people don’t understand is that a lot of modern storage systems are already compressed at the “hardware” layer by FTL’s/etc.

see also

Written on January 27, 2021, Last update on February 12, 2025
zip zfs