[
https://issues.apache.org/jira/browse/CASSANDRA-5862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13772295#comment-13772295
]
Adrien Grand commented on CASSANDRA-5862:
-----------------------------------------
I ran the benchmark again with Java 6 and 7, here is the raw data:
- Java 6u45:
https://microbenchmarks.appspot.com/runs/7340dcbf-d314-4ac4-bcb4-806f2e7f6f7b#r:scenario.benchmarkSpec.parameters.size,scenario.benchmarkSpec.parameters.checksum
- Java 7u21:
https://microbenchmarks.appspot.com/runs/4e7ed509-e2ea-4405-bcb6-06a119a06d2b#r:scenario.benchmarkSpec.parameters.size,scenario.benchmarkSpec.parameters.checksum
There are indeed performance differences for CRC32 and Adler32 between Java 6
and 7 but in both cases, XXHash performs even better.
> 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