Skip to content

Commit

Permalink
Check in TPC-C run time debug code (#503)
Browse files Browse the repository at this point in the history
Part of #487.
  • Loading branch information
geoffxy authored Apr 29, 2024
1 parent e8fd93e commit 903a48f
Show file tree
Hide file tree
Showing 4 changed files with 734 additions and 0 deletions.
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

0 comments on commit 903a48f

Please sign in to comment.