cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6689) Partially Off Heap Memtables
Date Thu, 27 Feb 2014 12:36:20 GMT


Benedict commented on CASSANDRA-6689:

Okay, pushed a patch [here|] which
includes all of your branch, is up-to-date with 2.1, and also:

bq. In NBQV, drainTo does not return the correct number of inserted items.

I've fixed this, and also merged NQB.drainTo() to some extent with NBQV.drainTo, to optimise
it a little as well, and added some long tests to NonBlockingQueueTest to cover it

bq. Make OpOrder.Group and RefAction implement AutoClosable to be able to do try-with-resources?

I've introduced this change, and I've updated all of the try/finally blocks to use it. Much

Things I haven't touched:

bq. AtomicReferenceArrayUpdater.shift(), really?

I'm really not sure what we can improve with this?

bq. I flush ~40MB/s with HeapSlabPool but only ~15MB/s with OffHeapPool.

I think we should split this into another ticket. I suspect we might be able to improve this
by introducing an extension of DataOutput which can accept a ByteBuffer.

bq. GC metrics! Time spent, amount of data reallocated etc.

Also think this deserves its own ticket.

> Partially Off Heap Memtables
> ----------------------------
>                 Key: CASSANDRA-6689
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Benedict
>            Assignee: Benedict
>             Fix For: 2.1 beta2
> Move the contents of ByteBuffers off-heap for records written to a memtable.
> (See comments for details)

This message was sent by Atlassian JIRA

View raw message