Re: [PATCH V3 0/8] macvtap/vhost TX zero copy support

2011-04-22 Thread Shirley Ma
On Thu, 2011-04-21 at 10:29 -0400, Jon Mason wrote: Why are only these 3 drivers getting support? As far as I can tell, the only requirement is HIGHDMA. If this is the case, is there really a need for an additional flag to support this? If you can key off of HIGHDMA, all devices that

Re: [PATCH V3 0/8] macvtap/vhost TX zero copy support

2011-04-22 Thread Shirley Ma
On Wed, 2011-04-20 at 12:36 -0700, Shirley Ma wrote: I am collecting more test results against 2.6.39-rc3 kernel and will provide the test matrix later. Single TCP_STREAM 120 secs test results over ixgbe 10Gb NIC results: Message BW(Gb/s)qemu-kvm (NumCPU)vhost-net(NumCPU) PerfTop irq/s 4K

Re: [PATCH V3 0/8] macvtap/vhost TX zero copy support

2011-04-21 Thread Jon Mason
On Wed, Apr 20, 2011 at 3:36 PM, Shirley Ma mashi...@us.ibm.com wrote: This patchset add supports for TX zero-copy between guest and host kernel through vhost. It significantly reduces CPU utilization on the local host on which the guest is located (It reduced 30-50% CPU usage for vhost thread

[PATCH V3 0/8] macvtap/vhost TX zero copy support

2011-04-20 Thread Shirley Ma
This patchset add supports for TX zero-copy between guest and host kernel through vhost. It significantly reduces CPU utilization on the local host on which the guest is located (It reduced 30-50% CPU usage for vhost thread for single stream test). The patchset is based on previous submission and

Re: [PATCH V3 0/8] macvtap/vhost TX zero copy support

2011-04-20 Thread Shirley Ma
Only when buffer size is greater than GOODCOPY_LEN (128), macvtap enables zero-copy. Signed-off-by: Shirley MA x...@us.ibm.com --- drivers/net/macvtap.c | 124 - 1 files changed, 112 insertions(+), 12 deletions(-) diff --git