The ojective of this laboratory is to launch NS3 network simulator with DCE support and to research dependency between TCP window size and TCP transfer speed.
Download from https://www.vagrantup.com/downloads.html and install
We will suppose that it is cloned into <lab_dir>
git clone https://github.com/Astrarog/hse-ns3-dce.git <lab_dir>
cd <lab_dir>
vagrant up
This will create a VM with needed environment.
Shared folder <lab_dir>/share
is also created and conntected to ~/share
in guest VM.
vagrant ssh
$./run-perf.sh
$exit
run-perf.sh
is a scrtipt based on iperf test that measure network perfomance.
Parameters changed as follows.
Changed parametr | Begin value | End value | Step |
---|---|---|---|
TCP window size (Kb) | 1 | 301 | 5 |
Link delay (ms) | 1 | 1026 | 5 |
Resulted bandwidth data is saved in ~/share/data.csv
file.
VM image can be destroyed via the command:
vagrant destroy
After this done data can be represented as 3D plot.
JupyterNotebook scrtipt for this task is provided in
<lab_dir>/visualisation/BandwithVisualisation.ipynb
The growth of link delay can be resisted with moderate increase of window size, as can be seen in graphics. Nevertheless, a massive increase of window size is frequenlty followed by a drop in bandwidth regardless of link delay mostly.
As a result, with increase of link delay the window size impact on the bandwidth goes up.