[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hadoop-dev
Subject:    [jira] [Created] (HADOOP-7339) Introduce a buffered checksum for
From:       "Min Zhou (JIRA)" <jira () apache ! org>
Date:       2011-05-30 5:26:47
Message-ID: 888908724.52741.1306733207354.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]

Introduce a buffered checksum for avoiding frequently calls on Checksum.update()
--------------------------------------------------------------------------------

                 Key: HADOOP-7339
                 URL: https://issues.apache.org/jira/browse/HADOOP-7339
             Project: Hadoop Common
          Issue Type: Improvement
          Components: util
            Reporter: Min Zhou


We found that PureJavaCRC32/CRC32.update() is the TOP 1 of the methods consuming CPU \
in a map side, and in reduce side, it cost a lots of CPU too.

IFileOutputStream would frequently call Checksum.update() during writing a record. \
It's very common a MR key/value less than 512 bytes. Checksum.update() would be \
called every time writing a key/value. 

Test case: terasort 100MB. 
Checksum.update() calls has be reduced from 4030348 to 28069.  This method is not a \
hotspot anymore.




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic