You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2014/06/10 00:15:06 UTC

[jira] [Created] (HADOOP-10674) Rewrite the PureJavaCrc32 loop for performance improvement

Tsz Wo Nicholas Sze created HADOOP-10674:
--------------------------------------------

             Summary: Rewrite the PureJavaCrc32 loop for performance improvement
                 Key: HADOOP-10674
                 URL: https://issues.apache.org/jira/browse/HADOOP-10674
             Project: Hadoop Common
          Issue Type: Bug
          Components: performance, util
            Reporter: Tsz Wo Nicholas Sze
            Assignee: Tsz Wo Nicholas Sze


Below are some performance improvement opportunities performance improvement in PureJavaCrc32.
- eliminate "off += 8; len -= 8;"
- replace T8_x_start with hard coded constants
- eliminate c0 - c7 local variables

In my machine, there are 30% to 50% improvement for most of the cases.



--
This message was sent by Atlassian JIRA
(v6.2#6252)