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

Sylvain Lebresne commented on CASSANDRA-4710:
---------------------------------------------

I agree, good catch. I went ahead a committed the fix (with some comment) in 
commit 2a91a48. Thanks Yuki.
                
> High key hashing overhead for index scans when using RandomPartitioner
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-4710
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4710
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Daniel Norberg
>            Assignee: Daniel Norberg
>            Priority: Minor
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 
> 0001-SSTableReader-compare-raw-key-when-scanning-index.patch
>
>
> For a workload where the dataset is completely in ram, the md5 hashing of the 
> keys during index scans becomes a bottleneck for reads when using 
> RandomPartitioner, according to profiling.
> Instead performing a raw key equals check in SSTableReader.getPosition() for 
> EQ operations improves throughput by some 30% for my workload (moving the 
> bottleneck elsewhere).

--
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

Reply via email to