From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwwGe-0006dO-Tu for qemu-devel@nongnu.org; Mon, 13 Feb 2012 08:48:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwwGc-0001sJ-JV for qemu-devel@nongnu.org; Mon, 13 Feb 2012 08:48:32 -0500 Received: from mail-pw0-f45.google.com ([209.85.160.45]:55100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwwGc-0001sF-Cz for qemu-devel@nongnu.org; Mon, 13 Feb 2012 08:48:30 -0500 Received: by pbbro12 with SMTP id ro12so5280799pbb.4 for ; Mon, 13 Feb 2012 05:48:29 -0800 (PST) Message-ID: <4F3914A9.8080004@codemonkey.ws> Date: Mon, 13 Feb 2012 07:48:25 -0600 From: Anthony Liguori MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] virtio-blk throughput List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Prateek Sharma , qemu-devel@nongnu.org On 02/13/2012 05:23 AM, Stefan Hajnoczi wrote: > On Sat, Feb 11, 2012 at 9:57 AM, Prateek Sharma wrote: >> $QEMU -cpu core2duo,+vmx -drive file=$VM_PATH,if=virtio,aio=native >> -drive file=viotest.img,if=virtio,index=2 > > -drive cache=none is typically used for good performance when the > image is on a local disk. Try that and I think you'll see an > improvement. We should throw a bug on aio=native, cache != none. linux-aio blocks on io_submit if the caching mode isn't O_DIRECT and that will kill performance. Regards, Anthony Liguori > > Stefan >