Announcement

Collapse
No announcement yet.

Patches Revived For A Zstd-Compressed Linux Kernel While Dropping LZMA & BZIP2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • microcode
    replied
    Originally posted by oleid View Post
    Not entirely true. At work, we're logging proprietary sensor data (basically CAN frames) plus some header plus some more stuff.

    Guess what? bzip2 compresses best - better than xz. Files are some 10% smaller. It's quite slow, true, however if the data rate is low, compressing live data on some older ARM is fast enough.

    Previously, we used gz as well, but I replaced it with zstd. xz is too slow for our purpose .

    Fun fact : if I preprocess the log data with a large burrow-wheeler-transform, xz manages to close the gap to bz2.
    Hot damn, I suppose there's always something. I'll have to remember to try bzip2 next time I'm compressing something structured like that.

    Leave a comment:


  • hotaru
    replied
    why would they remove the fastest one, the only one that allows multithreaded compression and decompression? sure, the implementation in the kernel sucks and only uses a single thread, but the solution is to fix the implementation, not doom everyone to horribly slow single-threaded decompression forever.

    Leave a comment:


  • Beherit
    replied
    Originally posted by EmbraceUnity View Post
    This link details a lot of arguments for why LZMA2 and XZ are poor quality archive formats, and why LZMA1 is superior to them.

    http://www.nongnu.org/lzip/xz_inadequate.html
    The arguments are very similar to the ARJ vs PKZIP debate in the 90s. ARJ users advocated that ARJ was so much more secure, safe and recoverable than PKZIP. Either way, we all know how that went...

    Leave a comment:


  • Imroy
    replied
    What support for Zstd compression on BTRFS in GRUB?

    Leave a comment:


  • oleid
    replied
    Originally posted by microcode View Post
    BZIP2 is basically useless these days except for compatibility, the decompressor is so slow that it's not appropriate in an embedded setting, and the compression is worse than LZMA2 (and often worse than DEFLATE from zopfli), and outside of an embedded setting, you're often better off with simpler compression anyway due to the capacity and speed of desktop/server storage devices.

    Not entirely true. At work, we're logging proprietary sensor data (basically CAN frames) plus some header plus some more stuff.


    Guess what? bzip2 compresses best - better than xz. Files are some 10% smaller. It's quite slow, true, however if the data rate is low, compressing live data on some older ARM is fast enough.


    Previously, we used gz as well, but I replaced it with zstd. xz is too slow for our purpose .



    Fun fact : if I preprocess the log data with a large burrow-wheeler-transform, xz manages to close the gap to bz2.

    Leave a comment:


  • microcode
    replied
    BZIP2 is basically useless these days except for compatibility, the decompressor is so slow that it's not appropriate in an embedded setting, and the compression is worse than LZMA2 (and often worse than DEFLATE from zopfli), and outside of an embedded setting, you're often better off with simpler compression anyway due to the capacity and speed of desktop/server storage devices.

    Leave a comment:


  • EmbraceUnity
    replied
    This link details a lot of arguments for why LZMA2 and XZ are poor quality archive formats, and why LZMA1 is superior to them.

    xz, lzip, LZMA, bzip2, gzip, data compression, long-term archiving

    Leave a comment:


  • Patches Revived For A Zstd-Compressed Linux Kernel While Dropping LZMA & BZIP2

    Phoronix: Patches Revived For A Zstd-Compressed Linux Kernel While Dropping LZMA & BZIP2

    For more than a year it's been talked about adding an option to support Zstd-compressed Linux kernel images while it looks like that Facebook-backed high performance compression algorithm for kernel images could soon finally be mainlined...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
Working...
X