From: Bronek Kozicki <brok@spamcop.net>
To: Simon Chen <simonchennj@gmail.com>, kvm@vger.kernel.org
Subject: Re: vhost-[pid] 100% CPU
Date: Sun, 06 Apr 2014 18:35:04 +0100 [thread overview]
Message-ID: <53419048.6090308@spamcop.net> (raw)
In-Reply-To: <CANj2EbcCosVBCG5LCHhXCJuHJqX6pAD3A_fVoEwQxOzGoCeQkQ@mail.gmail.com>
On 06/04/2014 15:06, Simon Chen wrote:
> Hello,
>
> I am using QEMU 1.6.0 on Linux 3.10.21. My VMs are using vhost-net in
> a typical OpenStack setup: VM1->tap->linux
> bridge->OVS->host1->physical network->host2->OVS->linux
> bridge->tap->VM2.
>
> It seems that under heavy network load, the vhost-[pid] processes on
> the receiving side is using 100% CPU. The sender side has over 85%
> utilized.
>
> I am seeing unsatisfactory VM to VM network performance (using iperf
> 16 concurrent TCP connections, I can only get 1.5Gbps, while I've
> heard people got to over 6Gbps at least), and I wonder if it has
> something to do with vhost-net maxing out on CPU. If so, is there
> anything I can tune the system?
You could dedicate network card to your virtual machine, using PCI
passthrough.
B.
next prev parent reply other threads:[~2014-04-06 18:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-06 14:06 vhost-[pid] 100% CPU Simon Chen
2014-04-06 17:35 ` Bronek Kozicki [this message]
2014-04-06 19:03 ` Simon Chen
2014-04-08 20:49 ` Simon Chen
2014-04-09 4:28 ` Jason Wang
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=53419048.6090308@spamcop.net \
--to=brok@spamcop.net \
--cc=kvm@vger.kernel.org \
--cc=simonchennj@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).