[
https://issues.apache.org/jira/browse/CASSANDRA-7883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jay Patel updated CASSANDRA-7883:
---------------------------------
Attachment: trunk-7883.txt
Patch attached - (trunk-7883.txt). Let me know any changes.
off-heap memtables (memtable_allocation_type: offheap_objects) will now use the
allocator set in "memory_allocator" property in cassandra.yaml.
For example, below settings in cassandra.yaml will turn on JEMallocAllocator &
off-heap memtables.
memory_allocator: JEMallocAllocator
memtable_allocation_type: offheap_objects
> Allow plugging JEMalloc for off-heap memtables
> ----------------------------------------------
>
> Key: CASSANDRA-7883
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7883
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Jay Patel
> Assignee: Jay Patel
> Fix For: 2.1.1
>
> Attachments: trunk-7883.txt
>
>
> Off-heap memtables (memtable_allocation_type:offheap_objects) introduced by
> CASSANDRA-6694 uses native GCC allocator. Provide an option to use JEMalloc
> allocator (http://www.canonware.com/jemalloc/) which is good to reduce
> fragmentation.
> CASSANDRA-3997 adds below option for off-heap caches and metadata. But it's
> not in effect for off-heap memtables. Should be use the same option or add
> another?
> memory_allocator: JEMallocAllocator
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)