From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jnbna-0000YG-ME for qemu-devel@nongnu.org; Sun, 20 Apr 2008 11:49:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JnbnY-0000XR-D3 for qemu-devel@nongnu.org; Sun, 20 Apr 2008 11:49:49 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnbnY-0000XO-75 for qemu-devel@nongnu.org; Sun, 20 Apr 2008 11:49:48 -0400 Received: from mail2.shareable.org ([80.68.89.115]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JnbnY-0003Id-Bz for qemu-devel@nongnu.org; Sun, 20 Apr 2008 11:49:48 -0400 Date: Sun, 20 Apr 2008 16:49:43 +0100 From: Jamie Lokier Subject: Re: [kvm-devel] [Qemu-devel] Re: [PATCH 1/3] Refactor AIO interface to allow other AIO implementations Message-ID: <20080420154943.GB14268@shareable.org> References: <1208460412-27567-1-git-send-email-aliguori@us.ibm.com> <20080417193807.GB11916@redhat.com> <4807A7EC.6040408@us.ibm.com> <20080417200024.GC11916@redhat.com> <20080418124319.GC25089@shareable.org> <4808BCF3.3060200@us.ibm.com> <4808CD10.8010609@qumranet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4808CD10.8010609@qumranet.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kvm-devel@lists.sourceforge.net, Anthony Liguori , Marcelo Tosatti Avi Kivity wrote: > For the majority of deployments posix aio should be sufficient. The few > that need something else can use Linux aio. Does that mean "for the majority of deployments, the slow version is sufficient. The few that care about performance can use Linux AIO?" I'm under the impression that the entire and only point of Linux AIO is that it's faster than POSIX AIO on Linux. > Of course, a managed environment can use Linux aio unconditionally if > knows the kernel has all the needed goodies. Does that mean "a managed environment can have some code which check the host kernel version + filesystem type holding the VM image, to conditionally enable Linux AIO?" (Since if you care about performance, which is the sole reason for using Linux AIO, you wouldn't want to enable Linux AIO on any host in your cluster where it will trash performance.) Just wondering. Thanks, -- Jamie