-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_all.sh
executable file
·73 lines (51 loc) · 1.58 KB
/
run_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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/bin/sh
export n_workers=64
export n_resources=$n_workers
export n_repeat=15
README="$(pwd)/README.md"
update_image() {
echo "update_image..."
echo "sed" "s~\[$1\]([^\)]*)~[$1]($2)~g" ${README}
sed -i "s~\[$1\]([^\)]*)~[$1]($2)~g" ${README}
}
pushd latency
. ./make_plot.sh
echo "OUTPUT=${OUTPUT}"
update_image "Latency" "latency/${OUTPUT}"
popd
pushd randomGraph
. ./scripts/bench_emplacement.sh
update_image "Emplacement" "randomGraph/${OUTPUT}"
export min_task_duration=200
export max_task_duration=200
export min_dependencies=0
export max_dependencies=0
. ./scripts/bench_overhead.sh
update_image "Overhead: Independent" "randomGraph/${OUTPUT}"
export min_dependencies=1
export max_dependencies=1
. ./scripts/bench_overhead.sh
update_image "Overhead: Chains" "randomGraph/${OUTPUT}"
export min_dependencies=1
export max_dependencies=5
. ./scripts/bench_overhead.sh
update_image "Overhead: Random" "randomGraph/${OUTPUT}"
export min_task_duration=0
export max_task_duration=0
. ./scripts/bench_scheduling_gap.sh
update_image "Scheduling Gap: 0μs" "randomGraph/$OUTPUT"
export min_task_duration=50
export max_task_duration=50
. ./scripts/bench_scheduling_gap.sh
update_image "Scheduling Gap: 50μs" "randomGraph/$OUTPUT"
export min_task_duration=25
export max_task_duration=500
. ./scripts/bench_scheduling_gap.sh
update_image "Scheduling Gap: 25-500μs" "randomGraph/$OUTPUT"
popd
pushd cholesky
matrix_size=4096 . ./make_plot.sh
update_image "Cholesky 128MiB" "cholesky/${OUTPUT}"
matrix_size=8192 . ./make_plot.sh
update_image "Cholesky 512MiB" "cholesky/${OUTPUT}"
popd