Re: memtable mem usage off by 10?

2014-06-11 Thread Idrén , Johan
ion print? On 5 June 2014 08:15, Idrén, Johan mailto:johan.id...@dice.se>> wrote: I’m using the datastax rpms, using the bundled launch scripts. grep -i jamm * cassandra-env.sh:# add the jamm javaagent cassandra-env.sh:JVM_OPTS="$JVM_OPTS -javaagent:$CASSANDRA_HOME/lib/jamm-0

Re: VPC AWS

2014-06-05 Thread Idrén , Johan
Using 2.0.x, we hit https://issues.apache.org/jira/browse/CASSANDRA-2380 when deploying in a VPC. We worked around this by adding a hostname in /etc/hosts. Apart from that, nothing specific. We use only internal ip's, no public ip's and no broadcast etc. It works very well. /Johan From: Alain

Re: memtable mem usage off by 10?

2014-06-05 Thread Idrén , Johan
user@cassandra.apache.org>> Subject: Re: memtable mem usage off by 10? In that case I would assume the problem is that for some reason JAMM is failing to load, and so the liveRatio it would ordinarily calculate is defaulting to 10 - are you using the bundled cassandra launch scripts? On 4 Ju

Re: memtable mem usage off by 10?

2014-06-04 Thread Idrén , Johan
find a Jira issue mentioning it being removed, so... what’s the full story there?! -- Jack Krupansky From: Idrén, Johan<mailto:johan.id...@dice.se> Sent: Wednesday, June 4, 2014 8:26 AM To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Subject: RE: memtable mem usage off by 10

RE: memtable mem usage off by 10?

2014-06-04 Thread Idrén , Johan
Sent: Wednesday, June 4, 2014 2:07 PM To: user@cassandra.apache.org Subject: Re: memtable mem usage off by 10? I'm confused: there is no flush_largest_memtables_at property in C* 2.0? On 4 June 2014 12:55, Idrén, Johan mailto:johan.id...@dice.se>> wrote: Ok, so the overhead is a constant

RE: memtable mem usage off by 10?

2014-06-04 Thread Idrén , Johan
our 3x comes from? On 4 June 2014 12:04, Idrén, Johan mailto:johan.id...@dice.se>> wrote: Aha, ok. Thanks. Trying to understand what my cluster is doing: cassandra.db.memtable_data_size only gets me the actual data but not the memtable heap memory usage. Is there a way to check for heap

RE: memtable mem usage off by 10?

2014-06-04 Thread Idrén , Johan
On 4 June 2014 11:04, Idrén, Johan mailto:johan.id...@dice.se>> wrote: I'm not measuring memtable size by looking at the sstables on disk, no. I'm looking through the JMX data. So I would believe (or hope) that I'm getting relevant data. If I have a heap of 10GB and set

RE: memtable mem usage off by 10?

2014-06-04 Thread Idrén , Johan
a/browse/CASSANDRA-6689> and 6694<https://issues.apache.org/jira/browse/CASSANDRA-6694>. On 4 June 2014 10:49, Idrén, Johan mailto:johan.id...@dice.se>> wrote: Hi, I'm seeing some strange behavior of the memtables, both in 1.2.13 and 2.0.7, basically it looks like

memtable mem usage off by 10?

2014-06-04 Thread Idrén , Johan
Hi, I'm seeing some strange behavior of the memtables, both in 1.2.13 and 2.0.7, basically it looks like it's using 10x less memory than it should based on the documentation and options. 10GB heap for both clusters. 1.2.x should use 1/3 of the heap for memtables, but it uses max ~300mb befor