-
Notifications
You must be signed in to change notification settings - Fork 7
/
run.sh
38 lines (27 loc) · 962 Bytes
/
run.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
#!/bin/bash
# Exit on any failure
set -e
# Check for uninitialized variables
set -o nounset
ctrlc() {
sudo killall -9 python
mn -c
exit
}
trap ctrlc SIGINT
start=`date`
exptid=`date +%b%d-%H:%M`
rm -rf results
i=0
for e in link_utilization throughput
do
python runner.py -t ft -r hashed --time 30 -s $i --topo-args=4,speed=10 --bw=10 -e $e
python runner.py -t jelly -r hashed --time 30 -s $i --topo-args=0,20,16,bw=10 --bw=10 -e $e
python runner.py -t jelly -r kshortest --time 30 -s $i --topo-args=0,20,16,bw=10 --bw=10 -e $e
done
python runner.py -t jelly -r hashed --time 30 -s $i --topo-args=0,20,16,bw=10 --bw=10 -f 8 -e throughput
python runner.py -t jelly -r kshortest --time 30 -s $i --topo-args=0,20,16,bw=10 --bw=10 -f 8 -e throughput
python jellyfish/jellyfish/result_creation/print_throughputs.py
python jellyfish/jellyfish/result_creation/plot_link_util.py -o link_utilization.png
echo "Started at" $start
echo "Ended at" `date`