cassandra/conf
mck 0034a133fa
Heap and GC jvm flags improvements
G1 can rely on `-XX:G1NewSizePercent=50` to always floor the young generation's size to 50% of the heap. (In production this can be raised to 66% for optimal performance.)

Fixing the young generation size with `-Xmn` is only applicable to CMS, so move it to the appropriate section.

When using G1, we can automatically set `-XX:ParallelGCThreads` and `-XX:ConcGCThreads` to the number of system cpu cores.

The auto-generated heap size is now half the server's physical RAM, capped at 16G for CMS and 31G for G1.

Increase MaxTenuringThreshold from 1 to 2, as evidence has shown it has no cost (over values of zero or one), but can have significant benefits in keeping objects in the young generation. While, values above 2 don't have any noticeable benefit.

Always set CASSANDRA_HEAPDUMP_DIR, default it to $CASSANDRA_LOG_DIR, to avoid hprof filling up unexpected disk volumes. Assumption here is that the logs directory is large enough to handle these dumps, and/or operators are monitoring these directories more than other randon/unknown directories.

 patch by Mick Semb Wever; reviewed by Jon Haddad for CASSANDRA-20296
2025-02-22 10:59:42 +01:00
..
triggers add triggers README 2013-08-17 19:13:58 -06:00
README.txt Fix ClassCastException processing expired messages 2014-07-07 00:03:18 -05:00
cassandra-env.sh Heap and GC jvm flags improvements 2025-02-22 10:59:42 +01:00
cassandra-jaas.config Merge branch 'cassandra-3.11' into cassandra-4.0 2023-08-31 22:39:56 +02:00
cassandra-rackdc.properties Add AzureSnitch 2023-07-20 21:35:07 +02:00
cassandra-topology.properties.example Rename cassandra-topology.properties to example 2021-11-16 10:10:15 -06:00
cassandra.yaml Fix unparseable YAML in default cassandra.yaml when uncommented for downstream tooling 2025-02-22 08:05:23 +01:00
cassandra_latest.yaml Fix unparseable YAML in default cassandra.yaml when uncommented for downstream tooling 2025-02-22 08:05:23 +01:00
commitlog_archiving.properties Merge branch 'cassandra-4.0' into cassandra-4.1 2024-09-15 19:57:53 +02:00
cqlshrc.sample Improve and clean up documentation and fix typos 2023-01-26 14:42:47 +01:00
credentials.sample Support legacy plain_text_auth section in credentials file removed unintentionally 2024-05-14 10:07:19 +02:00
jvm-clients.options Merge branch 'cassandra-4.1' into cassandra-5.0 2023-08-31 22:43:33 +02:00
jvm-server.options Heap and GC jvm flags improvements 2025-02-22 10:59:42 +01:00
jvm11-clients.options Add java.base/java.lang.reflect among opens for jvm11-client.options 2024-07-23 16:47:37 +02:00
jvm11-server.options Heap and GC jvm flags improvements 2025-02-22 10:59:42 +01:00
jvm17-clients.options Append additional JVM options when using JDK17+ 2024-01-19 18:50:53 -05:00
jvm17-server.options Heap and GC jvm flags improvements 2025-02-22 10:59:42 +01:00
logback-tools.xml Unify STDOUT and SYSTEMLOG logback format 2016-07-27 15:38:32 +01:00
logback.xml Make Cassandra logs able to be viewed in the virtual table system_views.system_logs 2022-10-18 14:13:51 +02:00

README.txt

Required configuration files
============================

cassandra.yaml: main Cassandra configuration file
logback.xml: logback configuration file for Cassandra server


Optional configuration files
============================

cassandra-topology.properties: used by PropertyFileSnitch