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-5884) Improve offheap memory performance
Date Tue, 13 Aug 2013 16:37:48 GMT

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

Jonathan Ellis commented on CASSANDRA-5884:
-------------------------------------------

Nice!  LGTM (with spaces around operators, please :).
                
> Improve offheap memory performance
> ----------------------------------
>
>                 Key: CASSANDRA-5884
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5884
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: T Jake Luciani
>            Assignee: T Jake Luciani
>             Fix For: 2.0.1
>
>         Attachments: memperf.txt
>
>
> Currently getting data to and from offheap is slow due to individual calls to getByte()
and putByte()
> The following patch makes this a single call and is 10x faster
> {code}
> benchmark:
>      [java]  0% Scenario{vm=java, trial=0, benchmark=GetBytesOld} 82266.48 ns; σ=2532.87
ns @ 10 trials
>      [java] 50% Scenario{vm=java, trial=0, benchmark=GetBytesNew} 7876.95 ns; σ=489.78
ns @ 10 trials
>      [java]
>      [java]   benchmark    us linear runtime
>      [java] GetBytesOld 82.27 ==============================
>      [java] GetBytesNew  7.88 ==
>      [java]
>      [java] vm: java
>      [java] trial: 0
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message