qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] is there a way to optimize vhost of virtio-net
@ 2016-10-17 10:39 yue
  2016-10-21  1:55 ` Jason Wang
  0 siblings, 1 reply; 4+ messages in thread
From: yue @ 2016-10-17 10:39 UTC (permalink / raw)
  To: jasowang, qemu-devel

hi, jasowang:
     according to my test , the vm's network performance is just 20% of physical ethernet, the thread of vhost  easily eat up 100% cpu when under pressure.
when using multi queue(two queues) the performance goes up by 50%, but it uses more threads.
if we can come to a conclusion that vhost is bottomneck?  or do you have any idea to improve , first we do not need to care how  violent  the idea   is.




thanks

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

* [Qemu-devel] is there a way to optimize vhost of virtio-net
@ 2016-10-17 15:39 yue
  0 siblings, 0 replies; 4+ messages in thread
From: yue @ 2016-10-17 15:39 UTC (permalink / raw)
  To: jasowang, qemu-devel

hi, jasowang:
     according to my test , the vm's network performance is just 20% of physical ethernet, the thread of vhost  easily eat up 100% cpu when under pressure.
when using multi queue(two queues) the performance goes up by 50%, but it uses more threads.
if we can come to a conclusion that vhost is bottomneck?  or do you have any idea to improve , first we do not need to care how  violent  the idea   is.




thanks




 

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

* [Qemu-devel] is there a way to optimize vhost of virtio-net
@ 2016-10-18  9:24 yue
  0 siblings, 0 replies; 4+ messages in thread
From: yue @ 2016-10-18  9:24 UTC (permalink / raw)
  To: jasowang, qemu-devel

hi, jasowang:
     according to my test , the vm's network performance is just 20% of physical ethernet, the thread of vhost  easily eat up 100% cpu when under pressure.
when using multi queue(two queues) the performance goes up by 50%, but it uses more threads.
if we can come to a conclusion that vhost is bottomneck?  or do you have any idea to improve , first we do not need to care how  violent  the idea   is.




thanks


 


 

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

* Re: [Qemu-devel] is there a way to optimize vhost of virtio-net
  2016-10-17 10:39 yue
@ 2016-10-21  1:55 ` Jason Wang
  0 siblings, 0 replies; 4+ messages in thread
From: Jason Wang @ 2016-10-21  1:55 UTC (permalink / raw)
  To: yue, qemu-devel



On 2016年10月17日 18:39, yue wrote:
> hi, jasowang:
>       according to my test , the vm's network performance is just 20% of physical ethernet, the thread of vhost  easily eat up 100% cpu when under pressure.

What's you configuration (e.g qemu cli, host and guest kernel versions 
and network setups). And how do you measure the performance?

> when using multi queue(two queues) the performance goes up by 50%, but it uses more threads.
> if we can come to a conclusion that vhost is bottomneck?  or do you have any idea to improve , first we do not need to care how  violent  the idea   is.

We notice the small packet TCP stream performance was bad in the past, 
but not sure it was your case.

>
>
>
> thanks

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

end of thread, other threads:[~2016-10-21  1:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-18  9:24 [Qemu-devel] is there a way to optimize vhost of virtio-net yue
  -- strict thread matches above, loose matches on Subject: below --
2016-10-17 15:39 yue
2016-10-17 10:39 yue
2016-10-21  1:55 ` 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).