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.
Bringing together the Apache Cassandra experts from the community and DataStax.
Want to learn? Have a question? Want to share your expertise? You are in the right place!
Not sure where to begin? Getting Started
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 :
Feel free to send feedback and help us to improve on the current revision.
Ray Hassan - Nutanix Solutions email@example.com @cannybag
6 People are following this question.