Re: Row cache vs. OS buffer cache

2014-01-23 Thread Katriel Traum
Thank you everyone for your input. My dataset is ~100G of size with 1 or 2 read intensive column families. The cluster has plenty of RAM. I'll start off small with 4G of row cache and monitor the success rate. Katriel On Thu, Jan 23, 2014 at 9:17 PM, Robert Coli wrote: > On Wed, Jan 22, 2014 a

Re: Row cache vs. OS buffer cache

2014-01-23 Thread Robert Coli
On Wed, Jan 22, 2014 at 11:13 PM, Katriel Traum wrote: > I was if anyone has any pointers or some advise regarding using row cache > vs leaving it up to the OS buffer cache. > > I run cassandra 1.1 and 1.2 with JNA, so off-heap row cache is an option. > Many people have had bad experiences with

Re: Row cache vs. OS buffer cache

2014-01-23 Thread Chris Burroughs
My experience has been that the row cache is much more effective. However, reasonable row cache sizes are so small relative to RAM that I don't see it as a significant trade-off unless it's in a very memory constrained environment. If you want to enable the row cache (a big if) you probably wa

Re: Row cache vs. OS buffer cache

2014-01-23 Thread Janne Jalkanen
Our experience is that you want to have all your very hot data fit in the row cache (assuming you don’t have very large rows), and leave the rest for the OS. Unfortunately, it completely depends on your access patterns and data what is the right size for the cache - zero makes sense for a lot

Row cache vs. OS buffer cache

2014-01-22 Thread Katriel Traum
Hello list, I was if anyone has any pointers or some advise regarding using row cache vs leaving it up to the OS buffer cache. I run cassandra 1.1 and 1.2 with JNA, so off-heap row cache is an option. Any input appreciated. Katriel