VOOZH about

URL: https://www.phoronix.com/news/Linux-6.17-EROFS

⇱ EROFS Metadata Compression Lands Plus A ~2.5x Speedup For Reading Directories - Phoronix


👁 Phoronix

EROFS Metadata Compression Lands Plus A ~2.5x Speedup For Reading Directories

Written by Michael Larabel in Linux Storage on 29 July 2025 at 05:31 AM EDT. Add A Comment
Merged on Monday were the EROFS file-system updates for Linux 6.17. EROFS continues to be a common read-only file-system choice for some mobile/embedded devices as well as container use-cases.

As part of the merged EROFS code for Linux 6.17 is now supporting metadata compression for even smaller read-only file-system images. EROFS metadata compression is now in place for scoring even smaller image sizes but at the cost of higher I/O latency. There is though support for using different compression algorithms / compression levels if still desiring decent performance with less dramatic space savings.

The EROFS updates for Linux 6.17 also include a separate performance improvement. EROFS now supports readahead for directories in the readdir function to improve performance when reading directories. The patch adding this support noted that the readdir test on a large directory with 12,000 sub-files went from handling 926,385 files per second to 2,380,435.. Or about a 2.5x improvement.

👁 EROFS logo


See the EROFS pull request for more details on these changes merged for Linux 6.17.

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.