forked from utsaslab/RECIPE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
106 lines (101 loc) · 2.63 KB
/
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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#!/bin/bash
DIR="perf_results/"
#PIN="./extra/pin-tool/pin -t ./extra/pin-tool/source/tools/SimpleExamples/obj-intel64/pm_count.so -- "
#SET_SIZE="10000000"
PIN=""
SET_SIZE=""
#for idx_type in art bwtree masstree hot wort woart wbtree fptree clht levelhash cceh dummy
for idx_type in clht
do
for workload in a b c
do
for nthreads in 1
do
${PIN}./build/ycsb ${idx_type} ${workload} randint uniform ${nthreads} ${SET_SIZE} &>> ./results/${DIR}randint_${workload}.csv
sleep 3
done
printf "\n\n" &>> ./results/${DIR}randint_${workload}.csv
done
done
for idx_type in bwtree
do
for workload in a b c e
do
for nthreads in 1
do
${PIN}./build/ycsb ${idx_type} ${workload} randint uniform ${nthreads} ${SET_SIZE} &>> ./results/${DIR}randint_${workload}.csv
sleep 3
done
printf "\n\n" &>> ./results/${DIR}randint_${workload}.csv
done
done
for idx_type in bwtree
do
for workload in a b c e
do
for nthreads in 1
do
${PIN}./build/ycsb ${idx_type} ${workload} string uniform ${nthreads} ${SET_SIZE} &>> ./results/${DIR}string_${workload}.csv
sleep 3
done
printf "\n\n" &>> ./results/${DIR}string_${workload}.csv
done
done
#cd ./build
#rm -rf *
#cmake -DCMAKE_CXX_FLAGS_RELEASE="-O0" ..
#make -j
#cd ..
#
#for idx_type in fastfair
#do
# for workload in a
# do
# for nthreads in 1
# do
# ${PIN}./build/ycsb ${idx_type} ${workload} randint uniform ${nthreads} ${SET_SIZE} &>> ./results/${DIR}randint_${workload}.csv
# sleep 3
# done
# printf "\n\n" &>> ./results/${DIR}randint_${workload}.csv
# done
#done
#
#
#cp CMakeLists_string.txt CMakeLists.txt
#cd ./build
#rm -rf ./*
#cmake ..
#make -j
#cd ..
#
#for idx_type in art bwtree masstree hot wort woart wbtree fptree dummy
#do
# for workload in a
# do
# for nthreads in 1
# do
# ${PIN}./build/ycsb ${idx_type} ${workload} string uniform ${nthreads} ${SET_SIZE} &>> ./results/${DIR}string_${workload}.csv
# sleep 3
# done
# printf "\n\n" &>> ./results/${DIR}string_${workload}.csv
# done
#done
#
#cd ./build
#rm -rf *
#cmake -DCMAKE_CXX_FLAGS_RELEASE="-O0" ..
#make -j
#cd ..
#
#for idx_type in fastfair
#do
# for workload in a
# do
# for nthreads in 1
# do
# ${PIN}./build/ycsb ${idx_type} ${workload} string uniform ${nthreads} ${SET_SIZE} &>> ./results/${DIR}string_${workload}.csv
# sleep 3
# done
# printf "\n\n" &>> ./results/${DIR}string_${workload}.csv
# done
#done