F2FS Added Zstd Compression With Linux 5.7 While Now is Working On LZO-RLE

Written by Michael Larabel in Linux Storage on 16 April 2020 at 04:29 AM EDT. 3 Comments
LINUX STORAGE
With Linux 5.6 the flash-focused F2FS file-system added LZO and LZ4 compression support for enhancing performance and ideally extending flash storage life by reducing the amount of writes. Added meanwhile for the current Linux 5.7 cycle was F2FS Zstd compression support. Now looking ahead to Linux 5.8, it looks like LZO-RLE support is being baked.

The LZO-RLE extension provides Run-Length Encoding that is designed to improve the LZO algorithm in scenarios where many zeros may be present, such as on file-systems. Linux's Zram already uses LZO-RLE by default and now the Flash-Friendly File-System is toying with LZO-RLE as another compression option for better performance and reducing the writes to disk.

This LZO-RLE wiring up for F2FS was contributed by a Huawei engineer. Currently this support is in F2FS' dev-test branch while if all goes well with the LZO-RLE evaluation could end up in the Linux 5.8 kernel this summer. The existing LZO / LZ4 / Zstd compression options will remain available.
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