[ https://issues.apache.org/jira/browse/CASSANDRA-4338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuki Morishita updated CASSANDRA-4338: -------------------------------------- Attachment: gc-trunk.png gc-4338-patched.png So I implemented SequentialWriter with DirectBB, and ran test on it. Code is pushed to here: https://github.com/yukim/cassandra/tree/4338-3 Test: 'cassandra-stress -Z LeveledCompactionStrategy -n 20000000' to empty trunk and patched node. Attached two screenshots show gc stats. Unfortunately I cannot see significant difference between two. Any suggestions on implementation/testing? > 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: Yuki Morishita > Priority: Minor > Fix For: 1.2 > > Attachments: gc-4338-patched.png, gc-trunk.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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira