Skip to content

Commit

Permalink
drtprod: increase drt-scale warehouses and reduce RF to 3
Browse files Browse the repository at this point in the history
This PR increases the primary and secondary tpcc warehouses
to 400k and 2M respectively. We also reduced the RF to 3 and
removed the some unnecessary steps.

Epic: none
Release note: None
  • Loading branch information
vidit-bhat committed Oct 28, 2024
1 parent 769a47f commit 172e887
Showing 1 changed file with 10 additions and 24 deletions.
34 changes: 10 additions & 24 deletions pkg/cmd/drtprod/configs/drt_scale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,6 @@ targets:
- $CLUSTER
- --
- "sudo systemctl unmask cron.service ; sudo systemctl enable cron.service ; echo \"crontab -l ; echo '@reboot sleep 100 && ~/cockroach.sh' | crontab -\" > t.sh ; sh t.sh ; rm t.sh"
- command: sql
args:
- $CLUSTER:1
- --
- -e
- "ALTER RANGE timeseries CONFIGURE ZONE USING num_replicas=5,num_voters=5"
- command: sql
args:
- $CLUSTER:1
- --
- -e
- "ALTER RANGE default CONFIGURE ZONE USING num_replicas=5,num_voters=5"
# workload cluster specs
- target_name: $WORKLOAD_CLUSTER
steps:
Expand Down Expand Up @@ -136,29 +124,27 @@ targets:
- $WORKLOAD_CLUSTER
- artifacts/roachtest
- roachtest-operations
- command: put
args:
- $WORKLOAD_CLUSTER
- pkg/cmd/drt/scripts/roachtest_operations_run.sh
- roachtest_operations_run.sh
- script: "pkg/cmd/drtprod/scripts/tpcc_init.sh"
args:
- cct_tpcc_320k # suffix added to script name tpcc_init_cct_tpcc_320k.sh
- true # determines whether to execute the script immediately on workload node
- cct_tpcc_400k # suffix added to script name tpcc_init_cct_tpcc_400k.sh
- false # determines whether to execute the script immediately on workload node
flags:
warehouses: 320000
warehouses: 400000
db: cct_tpcc
- script: "pkg/cmd/drtprod/scripts/tpcc_init.sh"
args:
- cct_tpcc_640k # suffix added to script name tpcc_init_cct_tpcc_640k.sh
- cct_tpcc_2000k # suffix added to script name tpcc_init_cct_tpcc_2000k.sh
- false # determines whether to execute the script immediately on workload node
flags:
warehouses: 640000
warehouses: 2000000
db: cct_tpcc_big
- script: "pkg/cmd/drtprod/scripts/generate_tpcc_run.sh"
args:
- cct_tpcc_400k # suffix added to script name tpcc_run_400k.sh
- false # determines whether to execute the script immediately on workload node
flags:
db: cct_tpcc
warehouses: 320000
warehouses: 400000
max-rate: 10000
workers: 5000
conns: 5000
Expand All @@ -168,7 +154,7 @@ targets:
- script: "pkg/cmd/drtprod/scripts/tpch_init.sh"
args:
- scale_factor_1000 # suffix added to script name tpch_init_scale_factor_1000.sh
- true # determines whether to execute the script immediately on workload node
- false # determines whether to execute the script immediately on workload node
flags:
scale-factor: 1000
- script: "pkg/cmd/drtprod/scripts/generate_tpch_run.sh"
Expand Down

0 comments on commit 172e887

Please sign in to comment.