Hello,


I need some suggestion from you all. I am new to Cassandra and was reading
Cassandra best practices. On one document, it was mentioned that Cassandra
should not be using swap, it degrades the performance.

My question is instead of disabling swap system wide, can we force
Cassandra not to use swap? Some documentation suggests to use
memory_locking_policy in cassandra.yaml.


How do I check if our Cassandra already has this parameter and still uses
swap ? Is there any way i can check this. I already checked cassandra.yaml
and dont see this parameter. Is there any other place i can check and
confirm?


Also, Can I set memlock parameter to unlimited (64kB default), so entire
Heap (Xms = Xmx) can be locked at node startup ? Will that help?


Or if you have any other suggestions, please let me know.





Regards,

Kunal

Reply via email to