Skip to content

Commit

Permalink
Restore previous set up, remove special runner
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffxy committed Nov 3, 2023
1 parent d7aa99f commit 869640c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions experiments/15-e2e-scenarios-v2/scale_down/run_workload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ log_workload_point "brad_start_initiated"
sleep 30

log_workload_point "clients_starting"
start_repeating_olap_runner 6 15 5 $ra_query_indexes "ra_8"
start_repeating_olap_runner 8 15 5 $ra_query_indexes "ra_8"
rana_pid=$runner_pid

start_txn_runner 3
start_txn_runner 4
txn_pid=$runner_pid

start_repeating_olap_runner 1 70 5 "61,71,75" "ra_1_special"
rana2_pid=$runner_pid
# start_repeating_olap_runner 1 70 5 "61,71,75" "ra_1_special"
# rana2_pid=$runner_pid
log_workload_point "clients_started"

function inner_cancel_experiment() {
cancel_experiment $rana_pid $txn_pid $rana2_pid
cancel_experiment $rana_pid $txn_pid
}

trap "inner_cancel_experiment" INT
Expand Down Expand Up @@ -63,5 +63,5 @@ log_workload_point "experiment_workload_done"

# Shut down everything now.
>&2 echo "Experiment done. Shutting down runners..."
graceful_shutdown $rana_pid $txn_pid $rana2_pid
graceful_shutdown $rana_pid $txn_pid
log_workload_point "shutdown_complete"
10 changes: 5 additions & 5 deletions experiments/15-e2e-scenarios-v2/scale_down/run_workload_debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ export BRAD_INITIAL_ROUTE_REDSHIFT_ONLY=1
start_brad_debug $config_file $planner_config_file
sleep 10

start_repeating_olap_runner 6 15 5 $ra_query_indexes "ra_8"
start_repeating_olap_runner 8 15 5 $ra_query_indexes "ra_8"
rana_pid=$runner_pid

start_txn_runner 3
start_txn_runner 4
txn_pid=$runner_pid

start_repeating_olap_runner 1 70 5 "61,71,75" "ra_1_special"
rana2_pid=$runner_pid
#start_repeating_olap_runner 1 70 5 "61,71,75" "ra_1_special"
#rana2_pid=$runner_pid

function inner_cancel_experiment() {
cancel_experiment $rana_pid $txn_pid $rana2_pid
cancel_experiment $rana_pid $txn_pid
}

trap "inner_cancel_experiment" INT
Expand Down

0 comments on commit 869640c

Please sign in to comment.