From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EMfKv-0005L8-5u for qemu-devel@nongnu.org; Tue, 04 Oct 2005 01:27:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EMfKj-0005Ci-IE for qemu-devel@nongnu.org; Tue, 04 Oct 2005 01:27:22 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EMfKj-0005Ba-0Z for qemu-devel@nongnu.org; Tue, 04 Oct 2005 01:27:21 -0400 Received: from [209.234.73.41] (helo=kalmia.hozed.org) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EMfIS-0004NS-IO for qemu-devel@nongnu.org; Tue, 04 Oct 2005 01:25:00 -0400 Date: Tue, 4 Oct 2005 00:24:51 -0500 From: Troy Benjegerdes Subject: Re: [Qemu-devel] [patch] non-blocking disk IO Message-ID: <20051004052451.GJ4612@kalmia.hozed.org> References: <4340D479.7030301@stanfordalumni.org> <20051003135837.GC3511@suse.de> <20051004013555.GG4612@kalmia.hozed.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: 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 > > If you anyway plan on having Posix AIO support then go for the Posix AIO > interface. The performance reasons why Linux AIO exists is very unlikely > to be an issue to qemu as you need to be quite I/O intensive to see any > performance difference. Ideally, we should be able to use a Posix AIO support libary that uses native Linux AIO underneath. What we want is to be able to have the guest OS request some DMA I/O operation, and have qemu be able to use AIO so that the actual disk hardware can dump the data directly in the pages the userspace process on the guest OS ends up wanting it in, avoiding several expensive memcopy and context switch operations.