F2FS In Linux 4.19 Will Fix Big Performance Issue For Multi-Threaded Reads

Written by Michael Larabel in Linux Storage on 12 August 2018 at 08:34 AM EDT. 20 Comments
LINUX STORAGE
The Linux 4.19 kernel updates for the Flash-Friendly File-System (F2FS) should bring much faster performance for multi-threaded sequential reads -- as much as multiple times faster.

Two years ago F2FS dropped its write-pages lock on the basis it could improve multi-threading performance... 4KB writes across 32 threads went up from 25 to 28MB/s on some tests done on the developer's hardware. While it was a minor win for multi-threaded writes, it turns out dropping the write-pages lock took a major toll on the multi-threaded read performance. Now with Linux 4.19, that write-pages lock is being restored.

Jaegeuk Kim reverted the removal of the write-pages lock for this next kernel cycle in F2FS. With multi-threaded sequential reads the read throughput goes up from 185 MB/s to now 758 MB/s. Details in this commit for the staged code ahead of the Linux 4.19 merge window.

The F2FS file-system for Linux 4.19 is also getting a fault_type mount option and a range of other fixes and code improvements for further polishing this flash-focused file-system.
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