Re: Off-heap row cache and mmapped sstables

2012-04-17 Thread Jonathan Ellis
Absolutely. Best practice is still to disable swap entirely on server machines; mlockall is just our best attempt to at least keep your JVM from swapping if you've forgotten this. On Thu, Apr 12, 2012 at 11:15 AM, Omid Aladini omidalad...@gmail.com wrote: Hi, Cassandra issues an mlockall [1]

Re: Off-heap row cache and mmapped sstables

2012-04-16 Thread Rob Coli
On 4/12/12, Omid Aladini omidalad...@gmail.com wrote: Cassandra issues an mlockall [1] before mmap-ing sstables to prevent the kernel from paging out heap space in favor of memory-mapped sstables. I was wondering, what happens to the off-heap row cache (saved or unsaved)? Is it possible that

Off-heap row cache and mmapped sstables

2012-04-12 Thread Omid Aladini
Hi, Cassandra issues an mlockall [1] before mmap-ing sstables to prevent the kernel from paging out heap space in favor of memory-mapped sstables. I was wondering, what happens to the off-heap row cache (saved or unsaved)? Is it possible that the kernel pages out off-heap row cache in favor of