All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Brian J. Murrell" <brian@interlinx.bc.ca>
To: kvm@vger.kernel.org
Cc: Sasha Levin <levinsasha928@gmail.com>
Subject: Re: 5x slower guest disk performance with virtio disk
Date: Thu, 15 Dec 2011 14:43:23 -0500	[thread overview]
Message-ID: <4EEA4DDB.5040203@interlinx.bc.ca> (raw)
In-Reply-To: <20111215172712.GC16183@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]

On 11-12-15 12:27 PM, Daniel P. Berrange wrote:
> On Thu, Dec 15, 2011 at 07:16:22PM +0200, Sasha Levin wrote:
>> On Thu, 2011-12-15 at 11:55 -0500, Brian J. Murrell wrote:
>>> So, about 2/3 of host speed now -- which is much better.  Is 2/3 about
>>> normal or should I be looking for more? 
>>
>> aio=native
>>
>> Thats the qemu setting, I'm not sure where libvirt hides that.
> 
>   <disk  ...>
>     <driver io='threads|native'/>
>     ...
>   </disk>

When I try to "virsh edit" and add that "<driver io=.../>" it seems to
get stripped out of the config (as observed with "virsh dumpxml").
Doing some googling I discovered an alternate syntax (in message
https://www.redhat.com/archives/libvirt-users/2011-June/msg00004.html):

<driver name='qemu' type='raw' cache='none' io='native'/>

But the "io='native'" seems to get stripped out of that too.

FWIW, I have:

qemu-kvm-0.12.1.2-2.113.el6.x86_64
libvirt-client-0.8.1-27.el6.x86_64

installed here on CentOS 6.0.  Maybe this aio= is not supported in the
above package(s)?

Cheers,
b.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  reply	other threads:[~2011-12-15 19:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-15 14:28 5x slower guest disk performance with virtio disk Brian J. Murrell
2011-12-15 15:47 ` Stefan Pietsch
2011-12-15 16:55   ` Brian J. Murrell
2011-12-15 17:16     ` Sasha Levin
2011-12-15 17:27       ` Daniel P. Berrange
2011-12-15 19:43         ` Brian J. Murrell [this message]
2011-12-16  2:47           ` Simon Wilson

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=4EEA4DDB.5040203@interlinx.bc.ca \
    --to=brian@interlinx.bc.ca \
    --cc=kvm@vger.kernel.org \
    --cc=levinsasha928@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 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.