I am using LCS so bloom filter fp default for 1.2.2 is 0.1 so my
bloomfilter size is 1.27G RAM(nodetool cfstats)....1.7 billion rows each
node.

My cfstats for this CF is attached(Since cut and paste screwed up the
formatting).  During testing in QA, we were not sure if index_interval
change was working so we dug into the code to find out, it basically seems
to immediately convert on startup though doesn't log anything except at a
"debug" level which we don't have on.

Dean



On 3/20/13 6:58 AM, "Andras Szerdahelyi"
<andras.szerdahe...@ignitionone.com> wrote:

>I am curious, thanks. ( I am in the same situation, big nodes choking
>under 300-400G data load, 500mil keys )
>
>How does your "cfhistograms Keyspace CF" output look like? How many
>sstable reads ?
>What is your bloom filter fp chance ?
>
>Regards,
>Andras
>
>On 20/03/13 13:54, "Hiller, Dean" <dean.hil...@nrel.gov> wrote:
>
>>Oh, and to give you an idea of memory savings, we had a node at 10G RAM
>>usage...we had upped a few nodes to 16G from 8G as we don't have our new
>>nodes ready yet(we know we should be at 8G but we would have a dead
>>cluster if we did that).
>>
>>On startup, the initial RAM is around 6-8G.  Startup with
>>index_interval=512 resulted in a 2.5G-2.8G initial RAM and I have seen it
>>grow to 3.3G and back down to 2.8G.  We just rolled this out an hour ago.
>>Our website response time is the same as before as well.
>>
>>We rolled to only 2 nodes(out of 6) in our cluster so far to test it out
>>and let it soak a bit.  We will slowly roll to more nodes monitoring the
>>performance as we go.  Also, since dynamic snitch is not working with
>>SimpleSnitch, we know that just one slow node affects our website(from
>>personal pain/experience of nodes hitting RAM limit and slowing down
>>causing website to get real slow).
>>
>>Dean
>>
>>On 3/20/13 6:41 AM, "Andras Szerdahelyi"
>><andras.szerdahe...@ignitionone.com> wrote:
>>
>>>2. Upping index_interval from 128 to 512 (this seemed to reduce our
>>>memory
>>>usage significantly!!!)
>>>
>>>
>>>I'd be very careful with that as a one-stop improvement solution for two
>>>reasons AFAIK
>>>1) you have to rebuild stables ( not an issue if you are evaluating,
>>>doing
>>>test writes.. Etc, not so much in production )
>>>2) it can affect reads ( number of sstable reads to serve a read )
>>>especially if your key/row cache is ineffective
>>>
>>>On 20/03/13 13:34, "Hiller, Dean" <dean.hil...@nrel.gov> wrote:
>>>
>>>>Also, look at the cassandra logs.  I bet you see the typicalŠblah blah
>>>>is
>>>>at 0.85, doing memory cleanup which is not exactly GC but cassandra
>>>>memory
>>>>managementŠ..and of course, you have GC on top of that.
>>>>
>>>>If you need to get your memory down, there are multiple ways
>>>>1. Switching size tiered compaction to leveled compaction(with 1
>>>>billion
>>>>narrow rows, this helped us quite a bit)
>>>>2. Upping index_interval from 128 to 512 (this seemed to reduce our
>>>>memory
>>>>usage significantly!!!)
>>>>3. Just add more nodes as moving the rows to other servers reduces
>>>>memory
>>>>from #1 and #2 above since the server would have less rows
>>>>
>>>>Later,
>>>>Dean
>>>>
>>>>On 3/20/13 6:29 AM, "Andras Szerdahelyi"
>>>><andras.szerdahe...@ignitionone.com> wrote:
>>>>
>>>>>
>>>>>I'd say GC. Please fill in form CASS-FREEZE-001 below and get back to
>>>>>us
>>>>>:-) ( sorry )
>>>>>
>>>>>How big is your JVM heap ? How many CPUs ?
>>>>>Garbage collection taking long ? ( look for log lines from
>>>>>GCInspector)
>>>>>Running out of heap ? ( "heap is .. full" log lines )
>>>>>Any tasks backing up / being dropped ? ( nodetool tpstats and "..
>>>>>dropped
>>>>>in last .. ms" log lines )
>>>>>Are writes really slow? ( nodetool cfhistograms Keyspace ColumnFamily
>>>>>)
>>>>>
>>>>>How much is lots of data? Wide or skinny rows? Mutations/sec ?
>>>>>Which Compaction Strategy are you using? Output of show schema (
>>>>>cassandra-cli ) for the relevant Keyspace/CF might help as well
>>>>>
>>>>>What consistency are you doing your writes with ? I assume ONE or ANY
>>>>>if
>>>>>you have a single node.
>>>>>
>>>>>What are the values for these settings in cassandra.yaml
>>>>>
>>>>>memtable_total_space_in_mb:
>>>>>memtable_flush_writers:
>>>>>memtable_flush_queue_size:
>>>>>compaction_throughput_mb_per_sec:
>>>>>
>>>>>concurrent_writes:
>>>>>
>>>>>
>>>>>
>>>>>Which version of Cassandra?
>>>>>
>>>>>
>>>>>
>>>>>Regards,
>>>>>Andras
>>>>>
>>>>>From:  Joel Samuelsson <samuelsson.j...@gmail.com>
>>>>>Reply-To:  "user@cassandra.apache.org" <user@cassandra.apache.org>
>>>>>Date:  Wednesday 20 March 2013 13:06
>>>>>To:  "user@cassandra.apache.org" <user@cassandra.apache.org>
>>>>>Subject:  Cassandra freezes
>>>>>
>>>>>
>>>>>Hello,
>>>>>
>>>>>I've been trying to load test a one node cassandra cluster. When I add
>>>>>lots of data, the Cassandra node freezes for 4-5 minutes during which
>>>>>neither reads nor writes are served.
>>>>>During this time, Cassandra takes 100% of a single CPU core.
>>>>>My initial thought was that this was Cassandra flushing memtables to
>>>>>the
>>>>>disk, however, the disk i/o is very low during this time.
>>>>>Any idea what my problem could be?
>>>>>I'm running in a virtual environment in which I have no control of
>>>>>drives.
>>>>>So commit log and data directory is (probably) on the same drive.
>>>>>
>>>>>Best regards,
>>>>>Joel Samuelsson
>>>>>
>>>>
>>>
>>
>

Offset      SSTables     Write Latency      Read Latency          Row Size      
Column Count
1              15137                 0                 0                 0      
  1645470668
2                  0                 0                 0                 0      
   127330224
3                  0                 0                 0                 0      
           0
4                  0                 0                 0                 0      
           0
5                  0                 0                 0                 0      
        4453
6                  0                 5                 0                 0      
     2014726
7                  0                13                 0                 0      
      107304
8                  0                22                 0                 0      
       63636
10                 0               174                 0                 0      
           2
12                 0               364                 0                 0      
           0
14                 0               474                 0                 0      
           0
17                 0               761                 0                 0      
           0
20                 0               963                 1                 0      
           0
24                 0              2015                 9                 0      
           0
29                 0              4029                46                 0      
           0
35                 0              5280                77                 0      
           0
42                 0              4055                79                 0      
           0
50                 0              1867               972                 0      
           0
60                 0               653              4051                 0      
           0
72                 0               188              4347           6171298      
           0
86                 0                58              1136        1593873392      
           0
103                0                12               338          58153146      
           0
124                0                 1                74         114558105      
           0
149                0                 0                29             44951      
           0
179                0                 0                37                 0      
           0
215                0                 0              1576              6975      
           0
258                0                 0               771           2034675      
           0
310                0                 0               109            146133      
           0
372                0                 0               207              2336      
           0
446                0                 0                40                 2      
           0
535                0                 0                12                 0      
           0
642                0                 0                 1                 0      
           0
770                0                 0                 0                 0      
           0
924                0                 0                 0                 0      
           0
1109               0                 0                 0                 0      
           0
1331               0                 0                 0                 0      
           0
1597               0                 0                 0                 0      
           0
1916               0                 0                 0                 0      
           0
2299               0                 0                 0                 0      
           0
2759               0                 0                 0                 0      
           0
3311               0                 0                 0                 0      
           0
3973               0                 0                 0                 0      
           0
4768               0                 0                 4                 0      
           0
5722               0                 0                 1                 0      
           0
6866               0                 0                20                 0      
           0
8239               0                 0                52                 0      
           0
9887               0                 0               183                 0      
           0
11864              0                 0               396                 0      
           0
14237              0                 0               350                 0      
           0
17084              0                 0                55                 0      
           0
20501              0                 0                43                 0      
           0
24601              0                 0                65                 0      
           0
29521              0                 0                20                 0      
           0
35425              0                 0                21                 0      
           0
42510              0                 0                 8                 0      
           0
51012              0                 0                 6                 0      
           0
61214              0                 0                 1                 0      
           0
73457              0                 0                 0                 0      
           0
88148              0                 0                 0                 0      
           0
105778             0                 0                 0                 0      
           0
126934             0                 0                 0                 0      
           0
152321             0                 0                 0                 0      
           0
182785             0                 0                 0                 0      
           0
219342             0                 0                 0                 0      
           0
263210             0                 0                 0                 0      
           0
315852             0                 0                 0                 0      
           0
379022             0                 0                 0                 0      
           0
454826             0                 0                 0                 0      
           0
545791             0                 0                 0                 0      
           0
654949             0                 0                 0                 0      
           0
785939             0                 0                 0                 0      
           0
943127             0                 0                 0                 0      
           0
1131752            0                 0                 0                 0      
           0
1358102            0                 0                 0                 0      
           0
1629722            0                 0                 0                 0      
           0
1955666            0                 0                 0                 0      
           0
2346799            0                 0                 0                 0      
           0
2816159            0                 0                 0                 0      
           0
3379391            0                 0                 0                 0      
           0
4055269            0                 0                 0                 0      
           0
4866323            0                 0                 0                 0      
           0
5839588            0                 0                 0                 0      
           0
7007506            0                 0                 0                 0      
           0
8409007            0                 0                 0                 0      
           0
10090808           0                 0                 0                 0      
           0
12108970           0                 0                 0                 0      
           0
14530764           0                 0                 0                 0      
           0
17436917           0                 0                 0                 0      
           0
20924300           0                 0                 0                 0      
           0
25109160           0                 0                 0                 0      
           0

Reply via email to