Re: TX from KVM guest virtio_net to vhost issues

2011-03-17 Thread Shirley Ma
On Thu, 2011-03-17 at 08:00 +0200, Michael S. Tsirkin wrote: On Wed, Mar 16, 2011 at 05:20:14PM -0700, Shirley Ma wrote: This patch doesn't seem to help guest TX queue overrun. Just making sure: what exactly was tested? You did combine this with a vhost-net and qemu patches, right? I

Re: TX from KVM guest virtio_net to vhost issues

2011-03-16 Thread Shirley Ma
On Fri, 2011-03-11 at 16:49 +1030, Rusty Russell wrote: But if one side outruns the other, it does a lot of unnecessary work notifying/interrupting it over and over again before the host/guest gets a chance to shut notifications/interrupts off. Hence the last_used publishing patch (Xen does

[PATCH 0/2] publish last used index (was Re: TX from KVM guest virtio_net to vhost issues)

2011-03-14 Thread Michael S. Tsirkin
On Fri, Mar 11, 2011 at 04:49:26PM +1030, Rusty Russell wrote: But if one side outruns the other, it does a lot of unnecessary work notifying/interrupting it over and over again before the host/guest gets a chance to shut notifications/interrupts off. Hence the last_used publishing patch

Re: TX from KVM guest virtio_net to vhost issues

2011-03-10 Thread Rusty Russell
On Wed, 09 Mar 2011 13:46:36 -0800, Shirley Ma mashi...@us.ibm.com wrote: Since we have lots of performance discussions about virtio_net and vhost communication. I think it's better to have a common understandings of the code first, then we can seek the right directions to improve it. We also

TX from KVM guest virtio_net to vhost issues

2011-03-09 Thread Shirley Ma
Since we have lots of performance discussions about virtio_net and vhost communication. I think it's better to have a common understandings of the code first, then we can seek the right directions to improve it. We also need to collect more statistics data on both virtio and vhost. Let's look at