public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* vhost + multiqueue + RSS question.
@ 2014-11-16 16:18 Gleb Natapov
  2014-11-16 18:56 ` Michael S. Tsirkin
  0 siblings, 1 reply; 17+ messages in thread
From: Gleb Natapov @ 2014-11-16 16:18 UTC (permalink / raw)
  To: mst; +Cc: kvm

Hi Michael,

 I am playing with vhost multiqueue capability and have a question about
vhost multiqueue and RSS (receive side steering). My setup has Mellanox
ConnectX-3 NIC which supports multiqueue and RSS. Network related
parameters for qemu are:

   -netdev tap,id=hn0,script=qemu-ifup.sh,vhost=on,queues=4
   -device virtio-net-pci,netdev=hn0,id=nic1,mq=on,vectors=10

In a guest I ran "ethtool -L eth0 combined 4" to enable multiqueue.

I am running one tcp stream into the guest using iperf. Since there is
only one tcp stream I expect it to be handled by one queue only but
this seams to be not the case. ethtool -S on a host shows that the
stream is handled by one queue in the NIC, just like I would expect,
but in a guest all 4 virtio-input interrupt are incremented. Am I
missing any configuration?

--
			Gleb.

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

end of thread, other threads:[~2014-11-19  3:01 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-16 16:18 vhost + multiqueue + RSS question Gleb Natapov
2014-11-16 18:56 ` Michael S. Tsirkin
2014-11-17  4:54   ` Venkateswara Rao Nandigam
2014-11-17  5:39     ` Jason Wang
2014-11-17  5:30   ` Jason Wang
2014-11-17  7:26     ` Gleb Natapov
2014-11-17  7:44   ` Gleb Natapov
2014-11-17 10:38     ` Michael S. Tsirkin
2014-11-17 11:22       ` Gleb Natapov
2014-11-17 11:58         ` Michael S. Tsirkin
2014-11-17 12:22           ` Gleb Natapov
2014-11-18  1:37             ` Zhang Haoyu
2014-11-18  3:41               ` Jason Wang
2014-11-18  7:56                 ` Gleb Natapov
2014-11-18  3:37           ` Jason Wang
2014-11-18 11:05             ` Michael S. Tsirkin
2014-11-19  3:01               ` Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox