This FAQ entry and the linked document provide a pretty good explanation:
http://wiki.apache.org/cassandra/FAQ#mmap
By the way, you should almost always turn off swap.
On Thu, Nov 17, 2011 at 1:16 AM, Jaesung Lee wrote:
> I am running 7 nodes cassandra(v1.0.2) cluster.
> I am putting 20K rows
I am running 7 nodes cassandra(v1.0.2) cluster.
I am putting 20K rows per sec to the cluster.
This cluster has 1 KS, 3CFs.
Each CF has 4-5 secondary indices.
After I'v run for 1 week, nodes use swap memory.
I changed disk-access-mode to index_only or standard.
I got strange memory results.
> usin