From: "Daniel P. Berrange" <berrange@redhat.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: kvm-devel@lists.sourceforge.net,
Marcelo Tosatti <mtosatti@redhat.com>,
qemu-devel@nongnu.org
Subject: Re: [PATCH 1/3] Refactor AIO interface to allow other AIO implementations
Date: Thu, 17 Apr 2008 20:38:07 +0100 [thread overview]
Message-ID: <20080417193807.GB11916@redhat.com> (raw)
In-Reply-To: <1208460412-27567-1-git-send-email-aliguori@us.ibm.com>
On Thu, Apr 17, 2008 at 02:26:50PM -0500, Anthony Liguori wrote:
> Posix AIO, especially as used by QEMU, is not very efficient for disk IO.
> This patch introduces an AIO abstract to allow multiple AIO implements to be
> used. We can't simply replace posix-aio by linux-aio because linux-aio only
> works on some filesystems and only with files opened with O_DIRECT.
>
> This patch adds a command line option (-aio) to select the AIO implementation
> to be used. It avoids code motion to allow for easy review. The next patch
> separates out the posix-aio implementation.
This is not a very pleasant user experiance. They can not & should not be
expected to figure out which AIO impl works with their particular filesystem.
If the linux-aio impl doesn't work in some cases, then the code should detect
these and automatically fallback to posix-aio. The user should not have to
use a -aio flag to make it work.
Dan.
--
|: Red Hat, Engineering, Boston -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
WARNING: multiple messages have this Message-ID (diff)
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: kvm-devel@lists.sourceforge.net,
Marcelo Tosatti <mtosatti@redhat.com>,
qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [kvm-devel] [PATCH 1/3] Refactor AIO interface to allow other AIO implementations
Date: Thu, 17 Apr 2008 20:38:07 +0100 [thread overview]
Message-ID: <20080417193807.GB11916@redhat.com> (raw)
In-Reply-To: <1208460412-27567-1-git-send-email-aliguori@us.ibm.com>
On Thu, Apr 17, 2008 at 02:26:50PM -0500, Anthony Liguori wrote:
> Posix AIO, especially as used by QEMU, is not very efficient for disk IO.
> This patch introduces an AIO abstract to allow multiple AIO implements to be
> used. We can't simply replace posix-aio by linux-aio because linux-aio only
> works on some filesystems and only with files opened with O_DIRECT.
>
> This patch adds a command line option (-aio) to select the AIO implementation
> to be used. It avoids code motion to allow for easy review. The next patch
> separates out the posix-aio implementation.
This is not a very pleasant user experiance. They can not & should not be
expected to figure out which AIO impl works with their particular filesystem.
If the linux-aio impl doesn't work in some cases, then the code should detect
these and automatically fallback to posix-aio. The user should not have to
use a -aio flag to make it work.
Dan.
--
|: Red Hat, Engineering, Boston -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
next prev parent reply other threads:[~2008-04-17 19:38 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-17 19:26 [PATCH 1/3] Refactor AIO interface to allow other AIO implementations Anthony Liguori
2008-04-17 19:26 ` [Qemu-devel] " Anthony Liguori
2008-04-17 19:26 ` [PATCH 2/3] Split out posix-aio code Anthony Liguori
2008-04-17 19:26 ` [Qemu-devel] " Anthony Liguori
2008-04-17 19:26 ` [PATCH 3/3] Implement linux-aio backend Anthony Liguori
2008-04-17 19:26 ` [Qemu-devel] " Anthony Liguori
2008-04-18 15:09 ` Marcelo Tosatti
2008-04-18 15:09 ` [Qemu-devel] " Marcelo Tosatti
2008-04-18 15:18 ` Anthony Liguori
2008-04-18 15:18 ` [Qemu-devel] " Anthony Liguori
2008-04-18 17:46 ` Marcelo Tosatti
2008-04-18 17:46 ` [Qemu-devel] " Marcelo Tosatti
2008-04-17 19:38 ` Daniel P. Berrange [this message]
2008-04-17 19:38 ` [Qemu-devel] Re: [kvm-devel] [PATCH 1/3] Refactor AIO interface to allow other AIO implementations Daniel P. Berrange
2008-04-17 19:41 ` Anthony Liguori
2008-04-17 19:41 ` [Qemu-devel] " Anthony Liguori
2008-04-17 20:00 ` Daniel P. Berrange
2008-04-17 20:00 ` [Qemu-devel] " Daniel P. Berrange
2008-04-17 20:05 ` Anthony Liguori
2008-04-17 20:05 ` [Qemu-devel] Re: [kvm-devel] " Anthony Liguori
2008-04-18 12:43 ` Jamie Lokier
2008-04-18 12:43 ` [Qemu-devel] " Jamie Lokier
2008-04-18 15:23 ` Anthony Liguori
2008-04-18 15:23 ` [Qemu-devel] " Anthony Liguori
2008-04-18 16:22 ` [Qemu-devel] " Jamie Lokier
2008-04-18 16:22 ` [Qemu-devel] Re: [kvm-devel] " Jamie Lokier
2008-04-18 16:32 ` [Qemu-devel] " Avi Kivity
2008-04-18 16:32 ` [kvm-devel] " Avi Kivity
2008-04-20 15:49 ` Jamie Lokier
2008-04-20 15:49 ` [kvm-devel] " Jamie Lokier
2008-04-20 18:43 ` Avi Kivity
2008-04-20 18:43 ` [kvm-devel] " Avi Kivity
2008-04-20 23:39 ` Jamie Lokier
2008-04-20 23:39 ` [kvm-devel] " Jamie Lokier
2008-04-21 6:39 ` Avi Kivity
2008-04-21 6:39 ` [kvm-devel] " Avi Kivity
2008-04-21 12:10 ` Jamie Lokier
2008-04-21 12:10 ` [kvm-devel] " Jamie Lokier
2008-04-22 8:10 ` Avi Kivity
2008-04-22 8:10 ` [kvm-devel] " Avi Kivity
2008-04-22 14:28 ` [kvm-devel] " Jamie Lokier
2008-04-22 14:28 ` [kvm-devel] [Qemu-devel] " Jamie Lokier
2008-04-22 14:53 ` Anthony Liguori
2008-04-22 14:53 ` [kvm-devel] " Anthony Liguori
2008-04-22 15:05 ` [kvm-devel] " Avi Kivity
2008-04-22 15:05 ` [kvm-devel] [Qemu-devel] " Avi Kivity
2008-04-22 15:23 ` [kvm-devel] " Jamie Lokier
2008-04-22 15:23 ` [kvm-devel] [Qemu-devel] " Jamie Lokier
2008-04-22 15:12 ` [kvm-devel] " Jamie Lokier
2008-04-22 15:12 ` [kvm-devel] [Qemu-devel] " Jamie Lokier
2008-04-22 15:03 ` Avi Kivity
2008-04-22 15:03 ` [kvm-devel] " Avi Kivity
2008-04-22 15:36 ` [kvm-devel] " Jamie Lokier
2008-04-22 15:36 ` [kvm-devel] [Qemu-devel] " Jamie Lokier
2008-05-02 16:37 ` Antonio Vargas
2008-05-02 17:18 ` Jamie Lokier
2008-05-02 17:52 ` Anthony Liguori
2008-05-02 18:24 ` Jamie Lokier
2008-04-22 15:47 ` Javier Guerra
2008-04-21 0:31 ` Javier Guerra Giraldez
2008-04-21 6:41 ` Avi Kivity
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=20080417193807.GB11916@redhat.com \
--to=berrange@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=kvm-devel@lists.sourceforge.net \
--cc=mtosatti@redhat.com \
--cc=qemu-devel@nongnu.org \
/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.