cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Jake Luciani (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-1969) Use BB for row cache - To Improve GC performance.
Date Wed, 06 Apr 2011 15:25:05 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016406#comment-13016406
] 

T Jake Luciani commented on CASSANDRA-1969:
-------------------------------------------

Seeing errors in server tests: 

looks due to the cache provider...

{noformat}
ERROR [pool-1-thread-1] 2011-04-06 10:12:28,133 Cassandra.java (line 4604) Internal error
processing system_update_column_family
java.lang.NullPointerException
        at org.apache.cassandra.config.CFMetaData.apply(CFMetaData.java:641)
        at org.apache.cassandra.db.migration.UpdateColumnFamily.<init>(UpdateColumnFamily.java:59)
        at org.apache.cassandra.thrift.CassandraServer.system_update_column_family(CassandraServer.java:898)
        at org.apache.cassandra.thrift.Cassandra$Processor$system_update_column_family.process(Cassandra.java:4598)
        at org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:3285)
        at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:187)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:680)
{noformat} 

> Use BB for row cache - To Improve GC performance.
> -------------------------------------------------
>
>                 Key: CASSANDRA-1969
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1969
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>         Environment: Linux and Mac
>            Reporter: Vijay
>            Assignee: Vijay
>            Priority: Minor
>         Attachments: 0001-Config-1969.txt, 0001-introduce-ICache-InstrumentingCache-IRowCacheProvider.txt,
0001-introduce-ICache-InstrumentingCache-IRowCacheProvider.txt, 0002-Update_existing-1965.txt,
0002-implement-SerializingCache-SVN-Patch-V3, 0002-implement-SerializingCache-SVN-Patch-V4,
0002-implement-SerializingCache.txt, 0002-implement-SerializingCache.txt, 0002-implement-SerializingCache.txt,
0002-implement-SerializingCacheV2.txt, 0003-New_Cache_Providers-1969.txt, 0003-add-ICache.isCopying-method.txt,
0004-Null-Check-and-duplicate-bb.txt, 0004-TestCase-1969.txt, 1969-0001-v2.txt, 1969-rollup-and-config.txt,
1969_Cache_SVN_Patch.diff, BB_Cache-1945.png, JMX-Cache-1945.png, Old_Cahce-1945.png, POC-0001-Config-1945.txt,
POC-0002-Update_existing-1945.txt, POC-0003-New_Cache_Providers-1945.txt
>
>
> Java BB.allocateDirect() will allocate native memory out of the JVM and will help reducing
the GC pressure in the JVM with a large Cache.
> From some of the basic tests it shows around 50% improvement than doing a normal Object
cache.
> In addition this patch provide the users an option to choose BB.allocateDirect or store
everything in the heap.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message