Re: [RFC PATCH 0/4] Implement multiqueue virtio-net

Krishna Kumar2
2010-09-10T05:17:24Z

Sridhar Samudrala <sri@us.ibm.com> wrote on 09/10/2010 04:30:24 AM:

> I remember seeing similar issue when using a separate vhost thread for
> TX and
> RX queues. Basically, we should have the same vhost thread process a
> TCP flow
> in both directions. I guess this allows the data and ACKs to be
> processed in sync.

I was trying that by sharing threads between rx and tx[0], but
that didn't work either since guest rarely picks txq=0. I was
able to get reasonable single stream performance by pinning
vhosts to the same cpu.

Thanks,

- KK