-
Notifications
You must be signed in to change notification settings - Fork 4
/
run_all_to_all.sh
executable file
·51 lines (39 loc) · 2.29 KB
/
run_all_to_all.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
# TCP Reno
sleep 2
echo "Lauched TCP new Reno with 10% Load and only Short Flows"
screen -dm ./waf --run "scratch/datacenter --load=0.1 --flowsize=16384 --filename=StatsR10S.txt --linkutilization=1"
sleep 2
echo "Launched TCP new Reno with 30% Load and only Short Flows"
screen -dm ./waf --run "scratch/datacenter --load=0.3 --flowsize=16384 --filename=StatsR30S.txt --linkutilization=1"
sleep 2
echo "Launched TCP new Reno with 60% Load and only Short Flows"
screen -dm ./waf --run "scratch/datacenter --load=0.6 --flowsize=16384 --filename=StatsR60S.txt --linkutilization=1"
sleep 2
echo "Lauched TCP new Reno with 10% Load and only Long Flows"
screen -dm ./waf --run "scratch/datacenter --load=0.1 --flowsize=16777216 --filename=StatsR10L.txt --linkutilization=1"
sleep 2
echo "Launched TCP new Reno with 30% Load and only Long Flows"
screen -dm ./waf --run "scratch/datacenter --load=0.3 --flowsize=16777216 --filename=StatsR30L.txt --linkutilization=1"
sleep 2
echo "Launched TCP new Reno with 60% Load and only Long Flows"
screen -dm ./waf --run "scratch/datacenter --load=0.6 --flowsize=16777216 --filename=StatsR60L.txt --linkutilization=1"
# DCTCP
sleep 2
echo "Lauched DCTCP with 10% Load and only Short Flows"
screen -dm ./waf --run "scratch/datacenter --load=0.1 --flowsize=16384 --dctcp=1 --filename=StatsD10S.txt --linkutilization=1"
sleep 2
echo "Launched DCTCP with 30% Load and only Short Flows"
screen -dm ./waf --run "scratch/datacenter --load=0.3 --flowsize=16384 --dctcp=1 --filename=StatsD30S.txt --linkutilization=1"
sleep 2
echo "Launched DCTCP with 60% Load and only Short Flows"
screen -dm ./waf --run "scratch/datacenter --load=0.6 --flowsize=16384 --dctcp=1 --filename=StatsD60S.txt --linkutilization=1"
sleep 2
echo "Lauched DCTCP with 10% Load and only Long Flows"
screen -dm ./waf --run "scratch/datacenter --load=0.1 --flowsize=16777216 --dctcp=1 --filename=StatsD10L.txt --linkutilization=1"
sleep 2
echo "Launched DCTCP with 30% Load and only Long Flows"
screen -dm ./waf --run "scratch/datacenter --load=0.3 --flowsize=16777216 --dctcp=1 --filename=StatsD30L.txt --linkutilization=1"
sleep 2
echo "Launched DCTCP with 60% Load and only Long Flows"
screen -dm ./waf --run "scratch/datacenter --load=0.6 --flowsize=16777216 --dctcp=1 --filename=StatsD60L.txt --linkutilization=1"