[
https://issues.apache.org/jira/browse/CASSANDRA-5862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733753#comment-13733753
]
T Jake Luciani commented on CASSANDRA-5862:
-------------------------------------------
Looks like Adler32 wins!
{code}
benchmark:
[java] 0% Scenario{vm=java, trial=0, benchmark=JavaCrc32} 58541.04 ns;
σ=334.60 ns @ 3 trials
[java] 33% Scenario{vm=java, trial=0, benchmark=SSECrc32} 15504.47 ns;
σ=46.66 ns @ 3 trials
[java] 67% Scenario{vm=java, trial=0, benchmark=JavaAdler32} 6610.37 ns;
σ=232.76 ns @ 10 trials
[java]
[java] benchmark us linear runtime
[java] JavaCrc32 58.54 ==============================
[java] SSECrc32 15.50 =======
[java] JavaAdler32 6.61 ===
[java]
[java] vm: java
[java] trial: 0
{code}
> 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
>
>
> 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