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

> Not that the kernel list is the best place to bring this up, but NVIDIA
> would NOT be on that list. They are by far one of the best companies out
> there providing support for their cards. I bought my GF2 for exactly that
> reason too....

Sure. I spent much happy time telling people to report bugs to nvidia because
their closed drivers mean that only nvidia can debug all the crashes people
see with them loaded - at least some of which dont occur without the modules

- Alan Cox on linux-kernel