-
Notifications
You must be signed in to change notification settings - Fork 1
/
runtest.sh
executable file
·74 lines (65 loc) · 1.57 KB
/
runtest.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
#!/bin/sh
set -x
timestamp=`date +%Y.%m.%d.%H.%M.%S`
dir=$0.$timestamp
mkdir $dir
duration=1000
for i in benchmark_list_harris \
benchmark_list_rcu \
benchmark_list_rlu \
benchmark_list_swisstm \
benchmark_list_vlist
do
for init_size in 1000
do
range=$(echo $init_size+$init_size | bc)
for u in 100 500 1000
do
for ncpu in 1 4 8 12 16 20 24 28 32 36 40 44 48
do
for j in $(seq 5)
do
./$i -d $duration -u $u -i $init_size -r $range -n $ncpu
done
done | tee $dir/$i.size${init_size}.u${u}
done
done
done
for i in benchmark_list_move_vlist \
benchmark_list_move_rlu \
benchmark_list_move_swisstm
do
for init_size in 1000
do
range=$(echo $init_size+$init_size | bc)
for ncpu in 1 4 8 12 16 20 24 28 32 36 40 44 48
do
for j in $(seq 5)
do
./$i -d $duration -i $init_size -r $range -n $ncpu
done
done | tee $dir/$i.size${init_size}
done
done
for i in benchmark_tree_vrbtree \
benchmark_tree_vtree \
benchmark_tree_rlu \
benchmark_tree_rcu \
benchmark_tree_bonsai \
benchmark_tree_swisstm
do
for init_size in 100000
do
range=$(echo $init_size+$init_size | bc)
for u in 100 500 1000
do
for ncpu in 1 4 8 12 16 20 24 28 32 36 40 44 48
do
for j in $(seq 5)
do
./$i -d $duration -u $u -i $init_size -r $range -n $ncpu
done
done | tee $dir/$i.size${init_size}.u${u}
done
done
done