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

- From: Sasha Levin \<hidden\>
- Date: 2011-11-13 15:32:44 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2011/11/10882186
- Thread: https://ratatoskr.run/kvm/2011/11/10882120/t.md

```text
On Sun, 2011-11-13 at 17:00 +0200, Sasha Levin wrote:
> On Sun, 2011-11-13 at 12:24 +0200, Michael S. Tsirkin wrote:
> > On Sat, Nov 12, 2011 at 12:12:01AM +0200, Sasha Levin wrote:
> > > This is a patch based on Krishna Kumar's patch series which implements
> > > multiple VQ support for virtio-net.
> > > 
> > > The patch was tested with ver3 of the patch.
> > > 
> > > Cc: Krishna Kumar <redacted>
> > > Cc: Michael S. Tsirkin <mst@redhat.com>
> > > Cc: Rusty Russell <redacted>
> > > Cc: <redacted>
> > > Cc: <redacted>
> > > Signed-off-by: Sasha Levin <redacted>
> > 
> > Any performance numbers?
> 
> I tried finding a box with more than two cores so I could test it on
> something like that as well.
> 
> From what I see this patch causes a performance regression on my 2 core
> box.
> 

[snip]

After discussing it with Michael, we found out that for a single TCP
flow the guest signals the same TX VQ, but the RX VQ keeps changing -
which means that theres missing host-guest synchronization of hash flow.

-- 

Sasha.
```
