kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* vhost-[pid] 100% CPU
@ 2014-04-06 14:06 Simon Chen
  2014-04-06 17:35 ` Bronek Kozicki
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Chen @ 2014-04-06 14:06 UTC (permalink / raw)
  To: kvm

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?

On the host side, I have already tuned sysctl settings, spread the NIC
interrupts, and I believe RSS is on too.

Thanks.
-Simon

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-09  4:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-06 14:06 vhost-[pid] 100% CPU Simon Chen
2014-04-06 17:35 ` Bronek Kozicki
2014-04-06 19:03   ` Simon Chen
2014-04-08 20:49     ` Simon Chen
2014-04-09  4:28       ` Jason Wang

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).