On 10/24/2014 10:50 PM, Mark Kirkwood wrote: > On 25/10/14 16:47, Jens Axboe wrote: >> >> Since you're running rbd tests... Mind giving this patch a go? I don't >> have an easy way to test it myself. It has nothing to do with this >> issue, it's just a potentially faster way to do the rbd completions. >> > > Sure - but note I'm testing this on my i7 workstation (4x osd's running > on 2x Crucial M550) so not exactly server grade :-) > > With that in mind, I'm seeing slightly *slower* performance with the > patch applied: e.g: for 128k blocks - 2 runs, 1 uncached and the next > cached. Yeah, that doesn't look good. Mind trying this one out? I wonder if we doubly wait on them - or perhaps rbd_aio_wait_for_complete() isn't working correctly. If you try this one, we should know more... Goal is, I want to get rid of that usleep() in getevents. -- Jens Axboe