On Fri, Dec 12 2008, Andrea Arcangeli wrote:
> On Fri, Dec 12, 2008 at 09:23:10AM +0100, Jens Axboe wrote:
> > aio is only async with O_DIRECT, with buffered IO it's sync.
> 
> That's very bad, because aio is as needed for O_DIRECT as for buffered
> read seeking workloads that otherwise have zero chance to fill the
> I/O pipe... (well unless one is threading in userland which is obviously
> less efficient than what aio could achieve in kernel space, even

I agree completely. The buffered aio patches got pretty involved though,
it wasn't real pretty in the end. So it never got merged. Looks like the
most realistic way forward is some variant of syslet (or the acall stuff
that Zach has been working on), which is largely a cop out and will
never perform as well.

> without taking cfq screwed bucketing into account).

I added CLONE_IO some time ago to avoid that, so it's perfectly possible
to share cfq io contexts with threads or processes even in userspace!

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to