Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
DCell_repeatable/repeatExperiment.sh
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
37 lines (29 sloc)
1.25 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/bin/bash | |
cd pox/pox/ext | |
sudo rm -f h00_h43_iperf.txt | |
sudo rm -f tcpdump_s10.txt | |
sudo rm -rf iperfs | |
mkdir iperfs | |
mkdir iperfs/n_4_bw_100 | |
mkdir iperfs/n_4_bw_50 | |
mkdir iperfs/n_2_bw_100 | |
mkdir iperfs/n_6_bw_100 | |
sudo mn -c | |
# original results | |
sudo python makeConstantsFile.py 4 1 | |
sudo python build_topology.py 4 1 1 | |
sudo python build_topology.py 4 1 2 | |
sudo python plot_throughput.py -f h00_h43_iperf.txt -o ../../../throughput.png | |
sudo python plot_alternative_throughput.py -f tcpdump_s10.txt -o ../../../alternative-throughput.png | |
sudo python plot_experiment2.py -d ./iperfs/n_4_bw_100 -o ../../../experiment_2_throughput_n_4_bw_100.png | |
# our extensions | |
sudo python makeConstantsFile.py 4 1 | |
sudo python build_topology.py 4 1 3 50 250 | |
sudo python plot_experiment2.py -d ./iperfs/n_4_bw_50 -o ../../../experiment_2_throughput_n_4_bw_50.png -x 1500 -y 2500 | |
sudo python makeConstantsFile.py 2 1 | |
sudo python build_topology.py 2 1 3 100 250 | |
sudo python plot_experiment2.py -d ./iperfs/n_2_bw_100 -o ../../../experiment_2_throughput_n_2_bw_100.png -x 200 -y 2500 | |
sudo python makeConstantsFile.py 6 1 | |
sudo python build_topology.py 6 1 3 100 250 | |
sudo python plot_experiment2.py -d ./iperfs/n_6_bw_100 -o ../../../experiment_2_throughput_n_6_bw_100.png -x 2000 -y 5000 | |
cd ../../../ |