Re: KeysCached - clarification and recommendations on settings

2010-10-18 Thread Aaron Morton
The lack of swearing did seem odd. AaronOn 19 Oct, 2010,at 12:41 PM, Brandon Williams wrote:On Mon, Oct 18, 2010 at 3:21 PM, Aaron Morton wrote: Also have a read of this slide deck from Ben Black, caches are talked about from slide 35 onhttp://www.slideshare.net/driftx/c

Re: KeysCached - clarification and recommendations on settings

2010-10-18 Thread Brandon Williams
On Mon, Oct 18, 2010 at 3:21 PM, Aaron Morton wrote: > Also have a read of this slide deck from Ben Black, caches are talked about > from slide 35 on > > http://www.slideshare.net/driftx/cassandra-summit-2010-performance-tuning > > There is also a video linked here > http://www.riptano.com/blog/sl

Re: KeysCached - clarification and recommendations on settings

2010-10-18 Thread Peter Schuller
> Is your entire keyset active? If not set a sane starting point (default for > key cache is 200,000 http://wiki.apache.org/cassandra/StorageConfiguration ) >  and see what the cache hit's are like. How many keys do you have? What > was your hit rate with 100% key cache? Also, keep in mind that th

Re: KeysCached - clarification and recommendations on settings

2010-10-18 Thread Aaron Morton
Also have a read of this slide deck from Ben Black, caches are talked about from slide 35 onhttp://www.slideshare.net/driftx/cassandra-summit-2010-performance-tuningThere is also a video linked here http://www.riptano.com/blog/slides-and-videos-cassandra-summit-2010AaronOn 19 Oct, 2010,at 09:10 AM,

Re: KeysCached - clarification and recommendations on settings

2010-10-18 Thread Aaron Morton
AFAIK the caches do not expire entries under memory pressure, they just hold the number of entries you specify or are unbound in the case of 100%. The caches is based on the ConcurrentLinkedHashMap (http://code.google.com/p/concurrentlinkedhashmap/) and uses the SecondChance eviction policy. " to k

KeysCached - clarification and recommendations on settings

2010-10-18 Thread Jedd Rashbrooke
Greetings, I would like to check my understanding is accurate on how KeysCached is understood by Cassandra (0.6.5), and then get some suggestions on settings / OS FS cache interplay. First - my initial understanding was that if you set KeysCached to 100%, Cassandra would do a best effort to