Skip to content

Commit

Permalink
Increase workload intensity
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffxy committed Dec 3, 2023
1 parent f121184 commit 7f7c280
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ extract_named_arguments $@
# 14, 54, 59, 75

query_indices="62,64,65,66,69,72,73,74,91,59"
heavier_queries="14,54,60,71,75"

# Should be removed eventually and we should rely on the blueprint.
start_brad $config_file $planner_config_file
log_workload_point "brad_start_initiated"
sleep 30

log_workload_point "clients_starting"
start_repeating_olap_runner 8 5 5 $query_indices "ra_4"
start_repeating_olap_runner 8 5 5 $query_indices "ra_8"
rana_pid=$runner_pid

start_sequence_runner 2 8 5 "ra_vector" 4
Expand All @@ -47,10 +48,14 @@ function inner_cancel_experiment() {
trap "inner_cancel_experiment" INT
trap "inner_cancel_experiment" TERM

sleep $((60 * 60)) # Wait for 1 hour.
sleep $((5 * 60)) # Wait for 5 mins.
start_repeating_olap_runner 4 5 5 $heavier_queries "ra_4_heavy"
heavy_pid=$runner_pid

sleep $((55 * 60)) # Wait for 55 mins.
log_workload_point "experiment_done"

# Shut down everything now.
>&2 echo "Experiment done. Shutting down runners..."
graceful_shutdown $rana_pid $txn_pid $other_pid
graceful_shutdown $rana_pid $txn_pid $other_pid $heavy_pid
log_workload_point "shutdown_complete"

0 comments on commit 7f7c280

Please sign in to comment.