[PATCH 0/5] reduce exclusive ilock hold times

Dave Chinner david at fromorbit.com
Tue Mar 27 01:08:37 CDT 2012


On Mon, Mar 26, 2012 at 05:14:21PM -0400, Christoph Hellwig wrote:
> This series tries to reduce the amount we hold the ilock exclusively,
> especially during direct I/O writes where they currently hurt us.
> 
> Dave showed that his earlier version which is less aggressive than this
> one can already provide magnitudes of better throughput and iops for
> parallel direct I/O workloads, and this one should be even better.

Shows the same results for the recent sysbench testing as my patch,
but that is CPU bound and so there is little scope for improvement.
It is showing about 4.9GB/s as the maximum write rate with 16k IOs.

I get similar results from the rrtest code that was previously used
to demonstrate this problem - it's showing about about 1.2 million
4k IOPS, which is about 4.8GB/s as well. I think that must be the
limit of what the ramdisk code can handle on my setup.

So the performance side of this works just fine.

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list