Code Monkey home page Code Monkey logo

bbr-replication's Introduction

Setup

The experiment setup uses two Google cloud VMs running a modified linux kernel. We provide a simple install script to create the VMs and install all needed dependencies.

The setup is modified from https://github.com/google/bbr/blob/master/Documentation/bbr-quick-start.md

The setup script uses gcloud commandline tools, so first install those following the instructions at: https://cloud.google.com/sdk/downloads

Login to a gcloud project:

gcloud auth login

By default, the script uses a new "bbr-replication" Google cloud project for the VMs, but you can change this by modifying settings.sh

Run the script to create the VMs:

# This script will take roughly 30 minutes to complete.
# You may need to interact with 1 or 2 prompts at the beginning when it
# launches the VMs
bash create_vms.sh

Running the experiments

To run all of the experiments and download the results:

# This will run all the three experiments with vm-vm and mininet setup. 
# At the end of this experiment, the figures will be in the folder ./figures/
# This will take roughly 10 minutes to complete.
bash run_experiments.sh 

To run individual experiments, log in to the client machine:

source settings.sh
gcloud compute ssh --project "$PROJECT" --zone "$ZONE" "$NAME1"

On the client machine, you can run figure5.sh, figure6.sh, or bonus.sh individually. For example,

cd bbr-replication
sudo ./figure5.sh [arg] # arg is optional, one of: iperf, netperf, mininet, all (default)
# The figure will be created in ./figure5_[arg]/figure5_[arg].png

You can copy the figures to the local machine by running:

gcloud compute scp --recurse --project $PROJECT --zone $ZONE $NAME1:~/bbr-replication/path/to/file ./

bbr-replication's People

Contributors

bgirardeau avatar sammyas avatar

Watchers

 avatar  avatar  avatar

bbr-replication's Issues

Trying to replicate the experiment on mininet

Hey man. I was able to use your code to run the experiments on Gcloud but I would like to use mininet instead. I'm having a hard time understand one statement from the blog post: "to pace packets at the bottleneck rate (rather than in response to ACKs), which is not supported by Mininet".

What do you mean by pace at the bottleneck rate? feel free to email me a castro dot flavio dot jr at gmail dot com.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.