As ext4 is a standard de facto filesystem for many modern Linux
system, I am getting a lot of question if this is good for SSD,
or something else (i.e. xfs) should be used.
Traditionally our recommendation is xfs, and it comes to known
problem in ext3, where IO gets serialized per i_node in O_DIRECT
mode (check for example Domas’s post)
However from the results of my recent benchmarks I felt that this
should be revisited.
While I am still running experiments, I would like to share
earlier results what I have.
I use STEC SSD drive 200GB SLC SATA (my thanks to STEC for providing drives).
What I see, that ext4 still has problem with O_DIRECT. There are results for “single file” with O_DIRECT case (sysbench fileio 16 KiB blocksize random write workload):
- …