Zstd Compression For EROFS Published: Better Than LZ4 But Higher CPU Costs

Written by Michael Larabel in Linux Storage on 8 May 2024 at 06:30 AM EDT. 25 Comments
As noted recently, EROFS has been exploring Zstd compression support for this open-source read-only Linux file-system. Today the patch was posted for enabling Zstandard use.

Gao Xiang with Alibaba has published the 331 lines of code for enabling Zstd compression with EROFS. This is to be the 4th supported compression algorithm for EROFS. Testing by EROFS developers have shown better compression than the default LZ4 but at higher CPU overhead.

For now this Zstd compression support for EROFS is considered experimental and could also be further enhanced in the future by implementing one-shot or buffer-less decompression capabilities.

EROFS Zstd Kconfig

More details for those interested via the kernel mailing list. The EROFS read-only file-system continues to be popular for mobile use as well as container/embedded environments.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week