Re: [RFC] kvm tools: Implement multiple VQ for virtio-net

From
Sasha Levin <hidden>
Date
2011-11-15 15:30:29
Also in
kvm
Reply to
Krishna Kumar2, 2011-11-15
On Tue, 2011-11-15 at 10:14 +0530, Krishna Kumar2 wrote:
Sasha Levin [off-list ref] wrote on 11/14/2011 03:45:40 PM:
quoted
quoted
Why both the bandwidth and latency performance are dropping so
dramatically with multiple VQ?
It looks like theres no hash sync between host and guest, which makes
the RX VQ change for every packet. This is my guess.
Yes, I confirmed this happens for macvtap. I am
using ixgbe - it calls skb_record_rx_queue when
a skb is allocated, but sets rxhash when a packet
arrives. Macvtap is relying on record_rx_queue
first ahead of rxhash (as part of my patch making
macvtap multiqueue), hence different skbs result
in macvtap selecting different vq's.
I'm seeing this behavior in non-macvtep related setup as well (simple
tap <-> virtio-net).

-- 

Sasha.
Thread (17 messages) 17 messages, 8 authors, last reply 2011-11-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help