Is possible add new netwotk option for VMs to use vhost_net?
for example:
-net nic,model=virtio,macaddr=00:16:3e:00:01:01,netdev=nic-0
-netdev tap,id=nic-0,script=/root/ifup-br0,downscript=/root/ifdown-br0,vhost=on
Some articles about it:
http://www.linux-kvm.org/page/VhostNet
http://www.linux-kvm.com/content/how-maximize-virtio-net-performance-vhost-net
My test reports rapid increase network preformance between 2 VMs or VM and KVM host.
For emaple iperf test:
virtio
0.0-10.0 sec 4.38 GBytes 3.76 Gbits/sec
virtio + vhost
0.0-10.0 sec 30.9 GBytes 26.5 Gbits/sec
Thank You.