Journalling Revisited: XFS vs. EXT4
epickrram.blogspot.com
epickrram.blogspot.com
I've also had multi-millisecond pauses on ext4. In my case, the buffer fills up and we wait for sync_dirty_buffers to do it's job. We tried adjusting the various settings to tune it, but at the end, it's always there. We ended up buffering our own writes in the application so we could get the behavior we wanted.
Am I wrong that the graph above that statement does not show that? While it shows xfs having better latency than ext4, the axis is labelled as "write latency nanoseconds", and the difference between ext4 and xfs is ~400ns, or .4µs; not "a few hundred microseconds."