Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check in TPC-C run time debug code #503

Merged
merged 6 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions experiments/17-chbenchmark/debug/COND
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,15 @@ run_command(
"run-for-s": 180,
},
)

run_experiment(
name="aurora_timing",
run="./run_aurora_timing.sh",
options={
"txn-config-file": "aurora.config",
"txn-warehouses": 1740,
"txn-scale-factor": 1, # TBD
"t-clients": 1, # TBD
"run-for-s": 30,
},
)
18 changes: 18 additions & 0 deletions experiments/17-chbenchmark/debug/run_aurora_timing.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#! /bin/bash

script_loc=$(cd $(dirname $0) && pwd -P)
cd $script_loc
source ../common.sh
extract_named_arguments $@

# Resolve paths into absolute paths
abs_txn_config_file=$(realpath $txn_config_file)

cd ../../../workloads/chbenchmark/py-tpcc/
RECORD_DETAILED_STATS=1 python3 -m pytpcc.tpcc auroratiming \
--no-load \
--config $abs_txn_config_file \
--warehouses $txn_warehouses \
--duration $run_for_s \
--clients $t_clients \
--scalefactor $txn_scale_factor
Loading