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

Adrien Grand commented on CASSANDRA-5862:
-----------------------------------------

bq. What is the gain from switching to xxHash ? [...] Specifically, I'm 
interested in hash diversity.

xxHash happens to pass all tests of the SMHasher test suite 
(http://code.google.com/p/smhasher/wiki/SMHasher, see scores and speed of some 
common hash function at http://code.google.com/p/xxhash/) which has many tests 
including hash diversity.
                
> Switch to adler checksum for sstables
> -------------------------------------
>
>                 Key: CASSANDRA-5862
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5862
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: T Jake Luciani
>             Fix For: 2.0.1
>
>         Attachments: 5862.txt
>
>
> Adler is significantly faster than CRC32: 
> http://java-performance.info/java-crc32-and-adler32/
> (Adler is weaker for short inputs, so we should leave the commitlog alone, as 
> it checksums each mutation individually.)

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