On Wed, Nov 18, 2009 at 01:42:43PM +0800, Xin, Xiaohui wrote: > Michael, > >From the http://www.linux-kvm.org/page/VhostNet, we can see netperf with TCP_STREAM can get more than 4GMb/s for the receive side, and more than 5GMb/s for the send side. > Is it the result from the raw socket or through tap? > I want to duplicate such performance with vhost on my side. I can only get more than 1GMb/s with following conditions: > 1) disabled the GRO feature in the host 10G NIC driver > 2) vi->big_packet in guest is false > 3) MTU is 1500. > 4) raw socket, not the tap > 5) using your vhost git tree > > Is that the reasonable result with such conditions or maybe I have made some silly mistakes somewhere I don't know yet? > May you kindly describe your test environment/conditions in detail to have much better performance in your website (I really need the performance)? > > Thanks > Xiaohui These results where sent by Shirley Ma (Cc'd). I think they were with tap, host-to-guest/guest-to-host > And I have tested the tun support with vhost now, and may you share your /home/mst/ifup script here? > These are usually pretty simple, mine looks like this: #!/bin/sh -x /sbin/ifconfig tap0 0.0.0.0 up brctl addif br0 tap0 -- 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