[vbox-dev] Updating network interfaces list speed-up

a.urakov at drweb.com a.urakov at drweb.com
Tue Apr 14 08:23:13 GMT 2015


Hello Alexey,

does all of 70 vboxnet interfaces are listed in //proc/net/dev/? If so, 
please, attach VBoxSVC logs with /FindHostNetworkInterfaceByName/ 
execution time for patched and unpatched versions (similar to logs 
attached to first letter) so we can understand cause of performance 
difference.

Regards,
Alexander

13.04.2015 23:40, Alexey Eromenko пишет:
> Okay, I have created 70 host-ifs, and attached each VM to a different host-if.
>
> more commands:
> creating host-ifs:
> for i in `seq 1 70`; do VBoxManage hostonlyif create; done
> attaching VMs:
> for i in `seq 1 70`; do VBoxManage modifyvm "HostifrVM Clone $i"
> --hostonlyadapter1 vboxnet$i; done
> adding it all to /etc/network/interfaces :
> for i in `seq 1 70`; do echo "iface vboxnet$i inet dhcp" >>
> /etc/network/interfaces; done
>
> VBoxHeadless - 70 VMs:
> Starting 70 VMs:
> $ for i in `seq 1 70`; do VBoxManage startvm "HostifrVM Clone $i"
> --type headless; done
> Stopping 70 VMs:
> for i in `seq 1 70`; do VBoxManage controlvm "HostifrVM Clone $i" poweroff; done
>
> (unpatched)
> 25 sec... 25 sec (2nd run)
> (patched)
> 23 sec. ... 25 sec (2nd run)... 25 sec (3rd run)
>
> Good news: boot time is reduced from 150 sec to 25 sec (6x) when going
> from GUI to CLI (headless VMs). 25 seconds is what it takes to start
> 70 VMs in headless mode.
>
> I decided to test headless this time to feel effect from network code
> better, rather than from GUI code.
> Still, performance is the same between patched and unpatched versions.
>
> -Technologov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20150414/ddda85ad/attachment.html>


More information about the vbox-dev mailing list