lkml.org 
[lkml]   [2011]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: fio posixaio performance problem
On 2011-08-04 10:35, Gui Jianfeng wrote:
>> looks the system does a write in every 8ms. This is quite wrong. does
>> the posixaio
>> engine have something wrong? can you use a new fio or try libaio please.
>
> Yes, I also highly suspect that fio's posixaio engine works bad.
> On the other hand, I'm not sure why preempting in cfqs doesn't happen.
> It seems requests from different threads is close enough...

Can't be ruled out that there's a bug in the posixaio engine. It's
perhaps 100 lines of interesting code in there, so should be easy enough
to audit. Unless it's an interaction with the fio core of course.

Since you're using a queue depth of 1, every getevents call would end up
in aio_suspend() waiting for the previously submitted one. That should
interleave just fine with the other threads, though.

--
Jens Axboe



\
 
 \ /
  Last update: 2011-08-04 11:03    [W:0.756 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site