Skip to content

jdubie/mininet-tcp-initial-cwnd

Repository files navigation

Using Mininet to reproduce Latency vs. Initial Congestion Window Graph

Joe Marama and Jack Dubie

In An Argument for Increasing TCP’s Initial Congestion Window, Nandita Dukkipati examines the speed to run a Google Web search (download a file ~15kB from Googles server) while the remote host varies its initial congestion window.

Instructions to reproduce our experiement:

Spin up our EC2 image in the AWS management console web application. AMI: ami-56ba1a3f

  • note - the image is only available in the East Coast Virginia and you need to use a c1.medium image

ssh into that server (replace domain name with your instance's domain name)

ssh -l ubuntu ec2-xxx-xxx-xxx-xxxx.compute-1.amazonaws.com

Install ethstats

sudo apt-get install ethstats

Clone our repo

git clone https://github.com/jdubie/mininet-tcp-initial-cwnd.git
cd mininet-tcp-initial-cwnd

Start open openvswitch

sudo ./start_openswitch.sh

Reproduce the initcwnd verification figure

sudo ./icwnd_vs_fct.py

Finally run the experiment

sudo ./bw_improvement.py
  • Results will be printed to stdout and in results/mininet_yours/latencies.pdf for the icwnd_vs_fct.py experiment and the results/mininet_yours/figureX.pdf plots, where X is the number of the experiment
  • scp results/mininet_yours/latencies.pdf to your local computer for a bar graph.

About

Using mininet to reproduced results of "An Argument for Increasing TCP’s Initial Congestion Window"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published