qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Prateek Sharma <prateek3.14@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] virtio-blk throughput
Date: Mon, 13 Feb 2012 07:48:25 -0600	[thread overview]
Message-ID: <4F3914A9.8080004@codemonkey.ws> (raw)
In-Reply-To: <CAJSP0QWdGWLuxR7cp8tt=aDMFKxzVEEJTXwNn7iqsnXHYoc5XQ@mail.gmail.com>

On 02/13/2012 05:23 AM, Stefan Hajnoczi wrote:
> On Sat, Feb 11, 2012 at 9:57 AM, Prateek Sharma<prateek3.14@gmail.com>  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
>

      parent reply	other threads:[~2012-02-13 13:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-11  9:57 [Qemu-devel] virtio-blk throughput Prateek Sharma
2012-02-13 11:23 ` Stefan Hajnoczi
2012-02-13 11:39   ` Prateek Sharma
2012-02-13 14:11     ` Stefan Hajnoczi
2012-02-13 13:48   ` Anthony Liguori [this message]

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=4F3914A9.8080004@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=prateek3.14@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).