In this post I'd like to touch on some of the relevant tuning in the virtual guest OS that DSE/Cassandra instances will run on. We will cover both network and virtual memory settings.
In this post I'd like to touch on some of the relevant tuning in the virtual guest OS that DSE/Cassandra instances will run on. We will cover both network and virtual memory settings.
In both cases below, you will need to create a systemd configuration override file (*.conf) in the directory /etc/sysctl.d, called vm.conf and net.conf respectively (in our example).
vm.swappiness=1 vm.dirty_background_ratio=1 vm.dirty_ratio=30 vm.max_map_count=1048575
net.ipv4.tcp_keepalive_time=60 net.ipv4.tcp_keepalive_probes=3 net.ipv4.tcp_keepalive_intvl=10 net.core.rmem_max=16777216 net.core.wmem_max=16777216 net.core.rmem_default=16777216 net.core.wmem_default=16777216 net.core.optmem_max=40960 net.ipv4.tcp_rmem=4096 87380 16777216 net.ipv4.tcp_wmem=4096 65536 16777216
We explain these and many more best practice ideas, for running Datastax DSE/Cassandra on Nutanix, in the freely available guide created by Nutanix Solutions Engineering :
https://www.nutanix.com/go/cassandra-on-nutanix
Feel free to send feedback and help us to improve on the current revision.
rgds
Ray Hassan - Nutanix Solutions ray@nutanix.com @cannybag
6 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use