cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-2252) off-heap memtables
Date Sat, 26 Feb 2011 07:23:21 GMT

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

Jonathan Ellis commented on CASSANDRA-2252:
-------------------------------------------

Patches to add MemtableAllocator (based on Todd's MemStoreLAB) and off-heap allocation via
FreeableMemory.

I gave up on trying to do the allocation for this and interning during deserialize; the code
got very tangled and felt fragile.  Instead, we copy during Memtable.put, which feels right
since there is no way to screw ourselves by forgetting to copy in a new code path.  I think
I'm willing to bite the extra copy for that.

> off-heap memtables
> ------------------
>
>                 Key: CASSANDRA-2252
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2252
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 0.8
>
>         Attachments: 0001-wip.txt, 0002-add-off-heap-MemtableAllocator-support.txt
>
>
> The memtable design practically actively fights Java's GC design.  Todd Lipcon gave a
good explanation over on HBASE-3455.

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

        

Mime
View raw message