hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10778) Use NativeCrc32 only if it is faster
Date Fri, 11 Jul 2014 21:54:05 GMT

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

Todd Lipcon commented on HADOOP-10778:
--------------------------------------

[~owen.omalley] any thoughts on this? In [this comment|https://issues.apache.org/jira/browse/HADOOP-6148?focusedCommentId=12721804&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12721804]
you were against the idea of dynamically switching between native and pure-java checksums.

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

Mime
View raw message