cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay (Updated) (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-3997) Make SerializingCache Memory Pluggable
Date Mon, 02 Apr 2012 19:19:22 GMT


Vijay updated CASSANDRA-3997:

    Attachment: 0001-CASSANDRA-3997-v2.patch

Segfaults happen in multiple places (opening a file, accessing malloc, while calling free,
and in a lot of unrelated cases)... 
Unless we open JDK source code and figure out how it is structured it is hard to say when
exactly it can fails (Let me know if you want to take a look at the hs_err*.log). 

In the bright side at least we can isolate this by calling via JNI. In v2 I removed the synchronization,
i have also attached it here (Plz note the yaml setting is not included just to hide it for
now). Thanks!
Note: "jemalloc 2.2.5" release works fine and so as the git/dev branch.
> Make SerializingCache Memory Pluggable
> --------------------------------------
>                 Key: CASSANDRA-3997
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Vijay
>            Assignee: Vijay
>            Priority: Minor
>              Labels: cache
>             Fix For: 1.2
>         Attachments: 0001-CASSANDRA-3997-v2.patch, 0001-CASSANDRA-3997.patch,
> Serializing cache uses native malloc and free by making FM pluggable, users will have
a choice of gcc malloc, TCMalloc or JEMalloc as needed. 
> Initial tests shows less fragmentation in JEMalloc but the only issue with it is that
(both TCMalloc and JEMalloc) are kind of single threaded (at-least they crash in my test otherwise).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message