News: 0001534298

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

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

([Linux Storage] 22 Minutes Ago F2FS Optimization)


An SK engineer has posted a Flash-Friendly File-System ( [1]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.

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



[1] https://www.phoronix.com/search/F2FS

[2] https://lore.kernel.org/lkml/20250312134805.362-1-yohan.joung@sk.com/



phoronix

Work was impossible. The geeks had broken my spirit. They had done too
many things wrong. It was never like this for Mencken. He lived like
a Prussian gambler -- sweating worse than Bryan on some nights and drunker
than Judas on others. It was all a dehumanized nightmare...and these
raddled cretins have the gall to complain about my deadlines.
-- Hunter Thompson, "Bad Nerves in Fat City", _Generation of Swine_