From: Bernhard Schmidt <berni@birkenwald.de>
To: kvm@vger.kernel.org
Subject: Re: virtio performance issue
Date: Tue, 16 Sep 2008 17:43:15 +0000 (UTC) [thread overview]
Message-ID: <gaor7j$1ai$1@ger.gmane.org> (raw)
In-Reply-To: 1221574441.26630.19.camel@cluwyn.haifa.ibm.com
Ben-Ami Yassour <benami@il.ibm.com> wrote:
Hello Ben,
> I am running virtio with the latest KVM code, and see a significant
> performance issue.
>
> Ping to the host (or any other close machine) reports a 4ms delay.
>
> In the same setup with an e1000 emulation (just changing model=virtio to
> model=e1000 in the KVM command line), ping reports 0.177ms delay.
>
> BTW, initially I saw that the throughput when using netperf is very low,
> even from guest to host, even though the CPU utilization is low.
>
> What might be the problem?
I had exactly the same issue (with an 2.6.26 kernel and kvm-70 though).
In an attempt to make the guest kernel (w/o modules) as small as
possible I had disabled ACPI in its config. Which works, but introduced
the very same 4ms delay you are seeing and made the VM clock go wild
(even worse with KVM_CLOCK). I did not see other speed issues, but I
have to admit I never benchmarked it.
After enabling ACPI the 4ms delay baseline disappeared and the clock in
the guest is now perfectly in sync with the host.
Regards,
Bernhard
prev parent reply other threads:[~2008-09-16 17:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-16 14:14 virtio performance issue Ben-Ami Yassour
2008-09-16 14:16 ` Anthony Liguori
2008-09-16 19:24 ` Ben-Ami Yassour
2008-09-17 10:49 ` Mark McLoughlin
2008-09-17 12:10 ` Ben-Ami Yassour
2008-09-16 17:43 ` Bernhard Schmidt [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='gaor7j$1ai$1@ger.gmane.org' \
--to=berni@birkenwald.de \
--cc=kvm@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox