On Thu, Jan 27, 2011 at 11:09:00AM -0800, Shirley Ma wrote: > On Thu, 2011-01-27 at 21:00 +0200, Michael S. Tsirkin wrote: > > Interesting. In particular running vhost and the transmitting guest > > on the same host would have the effect of slowing down TX. > > Does it double the BW for you too? > > > > Running vhost and TX guest on the same host seems not good enough to > slow down TX. In order to gain the double even triple BW for guest TX to > local host I still need to play around, so 1K message size, BW is able > to increase from 2.XGb/s to 6.XGb/s. > > Thanks > Shirley Well slowing down the guest does not sound hard - for example we can request guest notifications, or send extra interrupts :) A slightly more sophisticated thing to try is to poll the vq a bit more aggressively. For example if we handled some requests and now tx vq is empty, reschedule and yeild. Worth a try? -- MST -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html