Now I want to limit the available bandwidth for that connection. Therefore I used bandwidthctl in the Host terminal to limit the available bandwidth for both VMs to 300mbit/s:
Code: Select all
VBoxManage bandwidthctl "VM" add Limit --type network --limit 300m
Code: Select all
iperf -c 192.168.0.2 -t 20 -i 10
The result was an average bandwidth of 302mbit/s in the interval of 0-10seconds and 298mbit/s in the interval of 10-20seconds .
Now I changed the interval time from 10 seconds to 0.5 seconds.
The result was a very inconstant bandwidth from e.g 287mbit/s in the interval of 6.0-6.5 seconds or 319mbit/s in the interval of 3.5-4.0seconds .
Changing the interval time to 0.1 seconds made it even worse and the result was 161mbit/s from 1.4-1.5 seconds and then 412mbit/s from 1.5-1.6 seconds.
The average bandwidth over the whole duration time of 20 seconds was always something about 300mbit/s but my question is:
Why do I have an inconstant bandwidth in the intervals between despite adjusting a limitation of 300mbit/s?