Skip to content

sibanez12/dctcp-ns2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduce the Results

The results are designed to be reproduced on a machine running Ubuntu 14.04. It is recommended to run the simulations on a Google Compute Engine instance to ensure maximum consistency and reproducibility. Below are the instructions to reproduce:

(Optional) Google Compute Engine Instance Setup

This method requires that you have a Google Cloud account and associated billing account (or free trial) set up.

  1. Navigate to your Google Cloud Console and click "Compute Engine > Images" on the left hand side.

  2. Search for the ubuntu-1404 image and select it. Click "CREATE INSTANCE".

  3. Choose a name for your instance (e.g. dctcp-ns2). Choose your desired zone to host your instance. Choose 4 vCPUs as the machine type. Make sure to check the box to allow HTTP traffic. Click "Create".

Installation and Reproduction Steps:

  1. Install git and make: $ sudo apt-get -y install git make

  2. Clone the repository: $ git clone https://github.com/sibanez12/dctcp-ns2.git

  3. Install the dependencies (this will take about 8 minutes): $ cd dctcp-ns2 && make

  4. Reproduce the results (this will take about 5 minutes): $ ./run.sh

The plots will be saved in the plots/ directory. When the simulations are complete and the plots have been produced, an HTTP server will be started up automatically (may need to enter sudo password).

  1. Please identify the External IP address of the machine you are running the simulations on and navigate to http://<IP_ADDRESS> or to http://localhost if you are running on a local machine. Click on a link to view the corresponding figure.

Additional Notes

You can use the run_sim.py script to create figures individually, but you will need to source the settings.sh script first.

Run, $ ./run_sim.py --help for usage information.

About

Run experiments with DCTCP using NS2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published