Large Folio Patches For EXT4 Show Some Nice Performance Gains

Written by Michael Larabel in Linux Storage on 25 November 2024 at 08:50 AM EST. 18 Comments
LINUX STORAGE
Huawei engineer Zhang Yi posted a set of nine patches today for enabling large folio support for regular files with the EXT4 file-system. These patches enable large folios for EXT4 on regular files except when using FSVERITY, FSCRYPT, or the journaled data mode. Long story short, these large folio patches can deliver some nice performance gains for both reads and writes.

These patches get large folios working for regular files on EXT4 and this patch series is less invasive than previously posted patches. The patches could be enabled by default if deemed ready.

Testing across a system with hole, RAM disk, and NVMe solid-state storage types, there are very nice improvements to the buffered read performance:

EXT4 large folio read benchmarks


And even more compelling results for EXT4 large folio performance across write performance under a variety of conditions:

EXT4 large folio write benchmarks


Those interested in this large folio work for EXT4 can see this patch series for all the details.
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