VOOZH about

URL: https://www.phoronix.com/news/F2FS-Optimize-MT-Small-Writes

⇱ One Line Of Code Optimizes F2FS Performance For Small Multi-Threaded Writes - Phoronix


👁 Phoronix

One Line Of Code Optimizes F2FS Performance For Small Multi-Threaded Writes

Written by Michael Larabel in Linux Storage on 16 March 2025 at 06:38 AM EDT. 7 Comments
An SK engineer has posted a Flash-Friendly File-System (F2FS) driver optimization for Linux that one line of code changed is helping with performance especially for multi-threaded workloads involving small writes to SSD storage.

Yohan Joung of SK posted the patch to the Linux kernel mailing list this week for optimizing F2FS DIO overwrites. Yohan explains with the one line of code change:
"This is unnecessary when we know we are overwriting already allocated blocks and the overhead of starting a transaction can be significant especially for multithreaded workloads doing small writes."

Unfortunately no detailed performance numbers were shared as part of this initial patch. In any event it will be interesting to see what comes of it and hopefully being mainlined to the Linux kernel if all proves well.

👁 F2FS one line patch


The patch can be found for review on the Linux kernel mailing list.

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.