[ https://issues.apache.org/jira/browse/CASSANDRA-4338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13791548#comment-13791548 ]
Jonathan Ellis commented on CASSANDRA-4338: ------------------------------------------- I also did some quick looking for a ByteBuffer-capable Checksum implementation. hadoop-common has a NativeCrc32 (using the new intel instructions I think), but only for verifying checkums and not generating them. Adler32 gets {{update(ByteBuffer)}... in jdk8. > Experiment with direct buffer in SequentialWriter > ------------------------------------------------- > > Key: CASSANDRA-4338 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4338 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Jonathan Ellis > Assignee: Marcus Eriksson > Priority: Minor > Labels: performance > Fix For: 2.1 > > Attachments: 4338.benchmark.png, 4338.benchmark.snappycompressor.png, > 4338-gc.tar.gz, gc-4338-patched.png, gc-trunk-me.png, gc-trunk.png, > gc-with-patch-me.png > > > Using a direct buffer instead of a heap-based byte[] should let us avoid a > copy into native memory when we flush the buffer. -- This message was sent by Atlassian JIRA (v6.1#6144)