DataStax Academy FAQ

DataStax Academy migrated to a new learning management system (LMS) in July 2020. We are also moving to a new Cassandra Certification process so there are changes to exam bookings, voucher system and issuing of certificates.

Check out the Academy FAQ pages for answers to your questions:


question

ray_109035 avatar image
ray_109035 asked ·

Virtual guest OS tuning for Cassandra/DSE on Nutanix

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.

nutanix
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

ray_109035 avatar image
ray_109035 answered ·

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).

  • virtual memory tuning: /etc/sysctl.d/vm.conf
vm.swappiness=1
vm.dirty_background_ratio=1
vm.dirty_ratio=30
vm.max_map_count=1048575
  • network tuning : /etc/sysctl.d/net.conf
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
1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Thanks, @ray_109035. Keep them coming. Cheers!

1 Like 1 · ·