GoogleCloudPlatform / GoogleCloudPlatform/PerfKitBenchmarker

cassandra heap size config

Open
#204 7 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
2k
Forks
562
Avg merge
4h 55m
Merged PRs (30d)
69

Description

Currently, the cassandra_stress_benchmark does not run on some instances types due to not enough heap in JVM, for example C4.2xlarge.
The default max_heap_size used is max(min(1/2 of the memory in the vm, 1GB), min(1/4 of the memory in the vm, 8GB)). In a C4.2xlarge vm, the max_heap_size is only 3,4 G.
Should we just leave the configuration as it is (mostly default), or try to tune the configurations a bit (increase the ratio of max_heap/memory on vm) to allow the benchmark run on all instance types and also allow users to change configurations?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.