From: "Daniel P. Berrange" <berrange@redhat.com>
To: Reeted <reeted@shiftmail.org>
Cc: kvm@vger.kernel.org, libvir-list@redhat.com
Subject: Re: [libvirt] Qemu/KVM is 3x slower under libvirt (due to vhost=on)
Date: Wed, 28 Sep 2011 11:29:35 +0100 [thread overview]
Message-ID: <20110928102935.GQ21102@redhat.com> (raw)
In-Reply-To: <4E82F49D.5000304@shiftmail.org>
On Wed, Sep 28, 2011 at 12:19:09PM +0200, Reeted wrote:
> On 09/28/11 11:53, Daniel P. Berrange wrote:
> >On Wed, Sep 28, 2011 at 11:49:01AM +0200, Reeted wrote:
> >>YES!
> >>It's the vhost. With vhost=on it takes about 12 seconds more time to boot.
> >>
> >>...meaning? :-)
> >I've no idea. I was always under the impression that 'vhost=on' was
> >the 'make it go much faster' switch. So something is going wrong
> >here that I cna't explain.
> >
> >Perhaps one of the network people on this list can explain...
> >
> >
> >To turn vhost off in the libvirt XML, you should be able to use
> ><driver name='qemu'/> for the interface in question,eg
> >
> >
> > <interface type='user'>
> > <mac address='52:54:00:e5:48:58'/>
> > <model type='virtio'/>
> > <driver name='qemu'/>
> > </interface>
>
>
> Ok that seems to work: it removes the vhost part in the virsh launch
> hence cutting down 12secs of boot time.
>
> If nobody comes out with an explanation of why, I will open another
> thread on the kvm list for this. I would probably need to test disk
> performance on vhost=on to see if it degrades or it's for another
> reason that boot time is increased.
Be sure to CC the qemu-devel mailing list too next time, since that has
a wider audience who might be able to help
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
next prev parent reply other threads:[~2011-09-28 10:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-27 18:10 Qemu/KVM is 3x slower under libvirt Reeted
2011-09-28 7:51 ` [libvirt] " Daniel P. Berrange
2011-09-28 9:19 ` Reeted
2011-09-28 9:28 ` Daniel P. Berrange
2011-09-28 9:49 ` Reeted
2011-09-28 9:53 ` [libvirt] Qemu/KVM is 3x slower under libvirt (due to vhost=on) Daniel P. Berrange
2011-09-28 10:19 ` Reeted
2011-09-28 10:29 ` Daniel P. Berrange [this message]
2011-09-28 12:56 ` Richard W.M. Jones
2011-09-28 14:51 ` Reeted
2011-09-28 23:27 ` Reeted
2011-09-29 0:39 ` [libvirt] Qemu/KVM is 3x slower under libvirt Chris Wright
2011-09-29 10:16 ` Reeted
2011-09-29 16:40 ` Chris Wright
2011-10-04 23:12 ` Qemu/KVM guest boots 2x slower with vhost_net Reeted
2011-10-04 23:12 ` [Qemu-devel] " Reeted
2011-10-09 21:47 ` Reeted
2011-10-09 21:47 ` [Qemu-devel] " Reeted
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=20110928102935.GQ21102@redhat.com \
--to=berrange@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=libvir-list@redhat.com \
--cc=reeted@shiftmail.org \
/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.