-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexperiments_naive_validation.sh
executable file
·34 lines (28 loc) · 1.73 KB
/
experiments_naive_validation.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
#!/bin/bash
set -e
if [ $# -ne 1 ]; then
echo 'Usage: ./experiments_naive_validation.sh NUMA_NODE'
echo ' NUMA_NODE is the NUMA node ID to bind the experiments to.'
exit 1
fi
node_id=$1
# Build and execute naive dependency discovery for comparison.
cd hyrise/cmake-build-release
git checkout benchmark-naive-validation
make hyriseBenchmarkTPCH hyriseBenchmarkTPCDS hyriseBenchmarkStarSchema hyriseBenchmarkJoinOrder \
hyriseDependencyDiscoveryPlugin -j "$(nproc)"
# Validation times for naive dependency discovery.
cd ..
numactl -N "${node_id}" -m "${node_id}" SCHEMA_CONSTRAINTS=0 VALIDATION_LOOPS=100 ./cmake-build-release/hyriseBenchmarkTPCH \
-r 0 -p ./cmake-build-release/lib/libhyriseDependencyDiscoveryPlugin.so \
> cmake-build-release/benchmark_plugin_results/hyriseBenchmarkTPCH_st_s10_plugin_naive.log
numactl -N "${node_id}" -m "${node_id}" SCHEMA_CONSTRAINTS=0 VALIDATION_LOOPS=100 ./cmake-build-release/hyriseBenchmarkTPCDS \
-r 0 -p ./cmake-build-release/lib/libhyriseDependencyDiscoveryPlugin.so \
> cmake-build-release/benchmark_plugin_results/hyriseBenchmarkTPCDS_st_s10_plugin_naive.log
numactl -N "${node_id}" -m "${node_id}" SCHEMA_CONSTRAINTS=0 VALIDATION_LOOPS=100 ./cmake-build-release/hyriseBenchmarkStarSchema \
-r 0 -p ./cmake-build-release/lib/libhyriseDependencyDiscoveryPlugin.so \
> cmake-build-release/benchmark_plugin_results/hyriseBenchmarkStarSchema_st_s10_plugin_naive.log
numactl -N "${node_id}" -m "${node_id}" SCHEMA_CONSTRAINTS=0 VALIDATION_LOOPS=100 ./cmake-build-release/hyriseBenchmarkJoinOrder \
-r 0 -p ./cmake-build-release/lib/libhyriseDependencyDiscoveryPlugin.so \
> cmake-build-release/benchmark_plugin_results/hyriseBenchmarkJoinOrder_st_plugin_naive.log
git checkout main