Request to add new type of network interface / model to Cloudmin configuration based on VhostNET from RedHat. I test it and it provides better latency (10% less than e1000 on my system) and greater throughput (8x the normal virtio) in real. It is realy easy to configure by command, but I can not use Cloudmin to do it, neither configuration file in /etc/webmin/servers. Because it define network by others parameters and Cloudmin config is not designed to this usage.
My tests report 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
Example of command argument: -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
Ubuntu need to load module first, but it should be simple change in Cloudmin install script: root:~# modprobe vhost_net root:~# lsmod | grep vhost vhost_net 27606 0 root:~# echo vhost_net >> /etc/modules
Some article about it: http://www.linux-kvm.org/page/VhostNet
Comments
Submitted by JamieCameron on Sun, 08/24/2014 - 15:31 Comment #1
That sounds very interesting - I'll look into this. I wonder why it isn't used by default though .... are there any down-sides?
Submitted by allitsk on Sun, 08/24/2014 - 16:44 Comment #2
I'm not sure (don't using in production, using only Cloudmin to management VMs), but I don't think so. VhostNET was develop by RedHat and I read first time in IBM KVM Best Practices, for example here (page 28): http://www-01.ibm.com/support/knowledgecenter/linuxonibm/liaat/liaatbest...
I wrote about it two times in Cloudmin forum (first time a year ago), but probably it's not read often.
Submitted by JamieCameron on Sun, 08/24/2014 - 18:18 Comment #3
Thanks, I'll look into this.
Submitted by allitsk on Sun, 10/12/2014 - 04:34 Comment #4
Hello, do You looked into this yet?
BTW I can't find release notes for Cloudmin 7.9, can You post it?
Thank You.
Submitted by JamieCameron on Sun, 10/12/2014 - 11:31 Comment #5
No, I haven't had time to look into vhostnet support yet.
The release notes for 7.9 are at https://www.virtualmin.com/node/34481