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

T Jake Luciani commented on CASSANDRA-1714:
-------------------------------------------

Two issues I see:

1) writeShortByteArray/readShortByteArray changes still make copies of direct 
buffers. A more fundamental change to IColumnSerializer2 to use FileChannels is 
needed, see original (3)
2) Objects going into rowCache or keyCache that contain direct buffers need to 
be deepCopied first otherwise the OS will never release these underlying 
buffers.

> zero-copy reads
> ---------------
>
>                 Key: CASSANDRA-1714
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1714
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.7.1
>
>         Attachments: CASSANDRA-1714.patch, zerocopy.txt
>
>   Original Estimate: 32h
>  Remaining Estimate: 32h
>
> Since we are already using mmap'd ByteBuffers in MappedFileDataInput we 
> should be able to do zero-copy reads (via buffer.slice()), which would give 
> us better performance than CASSANDRA-1651 without having to worry about 
> buffer management.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to