Re: GC for ParNew (cassandra under performance ) 0.6.3

2011-05-07 Thread Ali Ahsan
Hi That sloved my issue of GC,Now i am facing with new one i have no swap but this process kswapd0 take up 100% cpu when there is load on cassandra any idea why this is happening On 05/05/2011 09:06 PM, Ali Ahsan wrote: Thanks replying,let me disable my swap memory. On 05/05/2011 09:01 PM,

Re: GC for ParNew (cassandra under performance ) 0.6.3

2011-05-07 Thread Jonathan Ellis
I'll quote the top google hit for [kswapd0 100%]: How much memory did you have in cached when you looked with top (and no swap enabled) ? If the amount of cached memory is very low, it could mean that your shared libraries are being pushed out of memory, instead of the kernel swapping out some

Re: GC for ParNew (cassandra under performance ) 0.6.3

2011-05-07 Thread Ali Ahsan
This what free -m and vmstat show now my CPU is on 100% [root@cassandra2 ~]# free -m total used free sharedbuffers cached Mem: 16043 15966 76 0 4900 -/+ buffers/cache: 15061982 Swap:0

Re: GC for ParNew (cassandra under performance ) 0.6.3

2011-05-07 Thread Ali Ahsan
Hi All some on suggested about linux scheduler cat /sys/block/sda/queue/scheduler there are quite few of them noop [anticipatory] deadline cfq.I have changed from cfq default to anticipatory,Now problem is less for me kswapd0 take 10-50% of cpu in very short bust less then milliseconds.Also

GC for ParNew (cassandra under performance ) 0.6.3

2011-05-05 Thread Ali Ahsan
Hi All I have two cassandra node with RF=2,Cassandra start under performing i mean red write are slow and i see following info in cassandra log.I have centos 5.5 64 bit with 14 GB memory assigned to cassandra.I am using LVM for cassandra.When i reboot my cassanrda every thing become normal.

Re: GC for ParNew (cassandra under performance ) 0.6.3

2011-05-05 Thread Jonathan Ellis
6s parnew is insane. you're probably swapping. Easiest fix is disabling swap entirely. P.S. 0.6.3 is ancient. On Thu, May 5, 2011 at 10:51 AM, Ali Ahsan ali.ah...@panasiangroup.com wrote: Hi All I have two cassandra node with RF=2,Cassandra start under performing  i mean red write are slow

Re: GC for ParNew (cassandra under performance ) 0.6.3

2011-05-05 Thread Ali Ahsan
Thanks replying,let me disable my swap memory. On 05/05/2011 09:01 PM, Jonathan Ellis wrote: 6s parnew is insane. you're probably swapping. Easiest fix is disabling swap entirely. P.S. 0.6.3 is ancient. -- S.Ali Ahsan Senior System Engineer e-Business (Pvt) Ltd 49-C Jail Road,