[
https://issues.apache.org/jira/browse/HADOOP-10778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054092#comment-14054092
]
Tsz Wo Nicholas Sze commented on HADOOP-10778:
----------------------------------------------
> The original JIRA also noted that OpenJDK was faster than Oracle's JDK at the
> time. So perhaps that's the difference you're seeing between java 7 and java
> 6? Are you testing OpenJDK in both cases or is it Oracle JDK 6?
>From the java.vm.vendor property, the Java 6 and Java 7 I used are
>respectively Apple and Oracle. Please help running the benchmark with
>different hardware and JDKs.
> Use NativeCrc32 only if it is faster
> ------------------------------------
>
> Key: HADOOP-10778
> URL: https://issues.apache.org/jira/browse/HADOOP-10778
> Project: Hadoop Common
> Issue Type: Improvement
> Components: util
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Attachments: c10778_20140702.patch
>
>
> From the benchmark post in [this
> comment|https://issues.apache.org/jira/browse/HDFS-6560?focusedCommentId=14044060&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14044060],
> NativeCrc32 is slower than java.util.zip.CRC32 for Java 7 and above when
> bytesPerChecksum > 512.
--
This message was sent by Atlassian JIRA
(v6.2#6252)