Ubuntu – Poor XFS performance — what’s going on

ioperformanceUbuntuxfs

I recently formatted a 20TB array as XFS. For file transfers < 10G performance is fantastic. However once I exceed 10G disk I/O decays logarithmically. I have the journal on the same disk. When I look at the disk IO usage, I see that jbd2flush is using nearly all disk IO. How can I resolve this? (Any way to do it w/o removing the data?) I am running Ubuntu 10.10. Thank you.

Best Answer

The journal is usually never the performance problem except for small random write IO, as the log is a circular buffer that is access sequentially as the log just gets appended.

How much memory does the system have? Whate are the watermarks on the pdflush side of things?

Can you produce a throughput diagram ie plot some of the columns of iostat -x -k 1 with gnuplot or something like that for the <10GB and for > 10GB cases?