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

Alexey Eromenko al4321 at gmail.com
Tue Apr 14 09:03:11 GMT 2015


Where can I find VBoxSVC logs ?

On Tue, Apr 14, 2015 at 11:23 AM, a.urakov at drweb.com <a.urakov at drweb.com> wrote:
> 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
>
>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev
>



-- 
-Alexey Eromenko "Technologov"




More information about the vbox-dev mailing list