-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_experiments_256.sh
85 lines (65 loc) · 2.4 KB
/
run_experiments_256.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/bin/bash -e
NUM_LEAVES=256
PACKET_SIZE=32
NUM_SENT_PER_LEAF=1024
# INJECTION_RATE_SET=(1 3 5 7 10 20 30 50 100)
INJECTION_RATE_SET=(100 50 30 20 10 7 5 3 1)
# Synthetic Random workloads
# ############
# ## test_9 ##
# ############
# INJECTION_RATE_SLOW_SET=(1 3 5 7 10 20 30 50 100)
# INJECTION_RATE_SLOW_SET=(100 50 30 20 10 7 5 3 1)
# cp ./_network_backup/256leaves/gen_nw_as3.v gen_nw.v
# TEST="test_9"
# IR=100
# for IR_S in ${INJECTION_RATE_SLOW_SET[@]}
# do
# python network_tester.py -nl $NUM_LEAVES -tp ${TEST}_${IR_S} -ntw 'as3' -nspl $NUM_SENT_PER_LEAF -irt $IR -pks $PACKET_SIZE -irt_s $IR_S
# done
##################
## test_0,3,5,7 ##
##################
# TEST_SET=("test_0" "test_5" "test_7" "test_3")
# TEST_SET=("test_0")
# INJECTION_RATE_SET=(100)
# cp ./_network_backup/256leaves/gen_nw_as1.v gen_nw.v
# for TEST in ${TEST_SET[@]}
# do
# for IR in ${INJECTION_RATE_SET[@]}
# do
# python network_tester.py -nl $NUM_LEAVES -tp $TEST -ntw 'as3' -nspl $NUM_SENT_PER_LEAF -irt $IR -pks $PACKET_SIZE
# done
# done
# Realistic workloads
# TEST_SET=("CA-CondMat" "CA-HepTh_rev" "DE_edges" "deezer_europe_edges_rev" "Email-Enron_rev" "fb-government_edges_rev" "fb-new_sites_edges_rev" "human_rev" "simucad_dac" "soc_rev" "stanford")
# INJECTION_RATE_SET=(1 3 5 7 10 20 30 50 100)
# IR=100
# cp ./_network_backup/256leaves/gen_nw_s0.v gen_nw.v
# for TEST in ${TEST_SET[@]}
# do
# python network_tester.py -nl $NUM_LEAVES -tp $TEST -ntw 's0' -irt $IR -pks $PACKET_SIZE
# done
# Just generate random testbench
TEST_SET=("test_0" "test_5" "test_7" "test_3")
cp ./_network_backup/256leaves/gen_nw_s0.v gen_nw.v
for TEST in ${TEST_SET[@]}
do
python network_tester.py -nl $NUM_LEAVES -tp $TEST -ntw 's0' -nspl $NUM_SENT_PER_LEAF -pks $PACKET_SIZE -tb
done
INJECTION_RATE_SLOW_SET=(1 3 5 7 10 20 30 50 100)
cp ./_network_backup/256leaves/gen_nw_s0.v gen_nw.v
TEST="test_9"
IR=100
for IR_S in ${INJECTION_RATE_SLOW_SET[@]}
do
python network_tester.py -nl $NUM_LEAVES -tp ${TEST}_${IR_S} -ntw 's0' -nspl $NUM_SENT_PER_LEAF -irt $IR -pks $PACKET_SIZE -irt_s $IR_S -tb
done
INJECTION_RATE_SLOW_SET=(1 3 5 7 10 20 30 50 100)
cp ./_network_backup/256leaves/gen_nw_s0.v gen_nw.v
TEST="test_10"
IR=100
for IR_S in ${INJECTION_RATE_SLOW_SET[@]}
do
python network_tester.py -nl $NUM_LEAVES -tp ${TEST}_${IR_S} -ntw 's0' -nspl $NUM_SENT_PER_LEAF -irt $IR -pks $PACKET_SIZE -irt_s $IR_S -tb
done