cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Commented) (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-3997) Make SerializingCache Memory Pluggable
Date Wed, 07 Mar 2012 17:52:57 GMT


Jonathan Ellis commented on CASSANDRA-3997:

bq. The Malloc/Free should done by ANY one thread at a time

So should we just synchronize the JEmalloc allocator methods instead of leaving it to the

I'm fine with turning this into a real patch adding a cache allocator option, although from
your test results it doesn't look like it's worth shipping TEmalloc -- more fragmentation
than JE and substantially slower.
> 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:
> 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