Skip to content

Commit 030ba55

Browse files
Arushi-07copybara-github
authored andcommitted
Enable sar by default in cassandra and increase compaction wait retries
PiperOrigin-RevId: 884643317
1 parent b53b608 commit 030ba55

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

perfkitbenchmarker/configs/default_benchmark_config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,9 @@ cassandra_stress_mixed_workload:
691691
flags:
692692
cassandra_stress_mixed_ratio: 'write=3,read=1'
693693
cassandra_stress_command: 'mixed'
694+
cassandra_compaction_throughput_mb: 250
695+
cassandra_stress_preload_num_keys: 550000000 # 550000000 preload keys are writing ~140G of data to the disk. The dataset size needs to be 5 times the VM memory and 8 vCPU standard machines usually have around 30G memory.
696+
cassandra_stress_population_size: 550000000
694697

695698
nginx_network_saturated_workload:
696699
name: nginx

perfkitbenchmarker/linux_benchmarks/cassandra_stress_benchmark.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@
326326
db_disk_type: hypderdisk-balanced
327327
db_disk_size: 350
328328
openjdk_version: 17
329+
sar: True
329330
"""
330331

331332
CASSANDRA_GROUP = 'workers'
@@ -1203,7 +1204,7 @@ def RunCassandraStress(
12031204

12041205

12051206
@vm_util.Retry(
1206-
max_retries=20,
1207+
max_retries=40,
12071208
retryable_exceptions=(CassandraCompactionNotCompletedError,),
12081209
poll_interval=WAIT_BETWEEN_COMPACTION_TASKS_CHECK,
12091210
timeout=-1,

0 commit comments

Comments
 (0)