From: Jamie Lokier <jamie@shareable.org>
To: qemu-devel@nongnu.org
Cc: Anthony Liguori <aliguori@us.ibm.com>,
Ryan Harper <ryanh@us.ibm.com>,
kvm@vger.kernel.org
Subject: Re: [Qemu-devel] Re: [PATCH][RFC] Refactor AIO to allow multiple AIO implementations
Date: Thu, 11 Sep 2008 14:28:31 +0100 [thread overview]
Message-ID: <20080911132831.GD16427@shareable.org> (raw)
In-Reply-To: <48C91A00.3060403@redhat.com>
Gerd Hoffmann wrote:
> > (I think the best
> > route is a thread-pool based implementation).
>
> Not sure about that. linux-aio would have the advantage that the kernel
> knows about all the requests in flight and probably can do a better job
> on I/O ordering and scheduling then. But once we can have multiple
> different implementations we can just try ;)
Won't posix-aio give the same info to the kernel when used with a
sufficiently avante-garde Linux distro?
I'm under the impression that linux-aio is better in every way, as
I think Anthony Liguori posted a while back:
>>> Threads are a poor substitute for a proper AIO interface.
>>> linux-aio gives you everything you could possibly want in an
>>> interface since it allows you to submit multiple vectored operations
>>> in a single syscall, use an fd to signal request completion,
>>> complete multiple requests in a single syscall, and inject barriers
>>> via fdsync.
But knowing about request in flight, I/O ordering etc. seem equally
available via posix-aio on a distro where that calls linux-aio
(i.e. not the Glibc implementation).
-- Jamie
next prev parent reply other threads:[~2008-09-11 13:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-10 15:49 [PATCH][RFC] Refactor AIO to allow multiple AIO implementations Anthony Liguori
2008-09-10 15:49 ` [Qemu-devel] " Anthony Liguori
2008-09-11 7:48 ` Gerd Hoffmann
2008-09-11 7:48 ` [Qemu-devel] " Gerd Hoffmann
2008-09-11 12:45 ` Anthony Liguori
2008-09-11 12:45 ` [Qemu-devel] " Anthony Liguori
2008-09-11 13:15 ` Gerd Hoffmann
2008-09-11 13:15 ` [Qemu-devel] " Gerd Hoffmann
2008-09-11 13:28 ` Jamie Lokier [this message]
2008-09-11 14:09 ` Anthony Liguori
2008-09-11 14:09 ` Anthony Liguori
2008-09-11 14:04 ` Anthony Liguori
2008-09-11 14:04 ` [Qemu-devel] " Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080911132831.GD16427@shareable.org \
--to=jamie@shareable.org \
--cc=aliguori@us.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
--cc=ryanh@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.