
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.
The patch can be found for review on the Linux kernel mailing list.