[ 
https://issues.apache.org/jira/browse/HBASE-11927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apekshit Sharma updated HBASE-11927:
------------------------------------
    Attachment: compact-without-native.svg
                compact-with-native.svg

Profiled using compaction tool.
In without-native graph, PureJavaCrc32.update() takes about 25%cpu for hfile 
checksum.
In with-native graph, 
org.apache.hadoop.util.NativeCrc32.{verify|generate}ChunkedSums() together take 
about 15% cpu.

> Use Native Hadoop Library for HFile checksum
> --------------------------------------------
>
>                 Key: HBASE-11927
>                 URL: https://issues.apache.org/jira/browse/HBASE-11927
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: Apekshit Sharma
>         Attachments: HBASE-11927-v1.patch, HBASE-11927.patch, c2021.crc2.svg, 
> c2021.write.2.svg, c2021.zip.svg, compact-with-native.svg, 
> compact-without-native.svg, crc32ct.svg
>
>
> Up in hadoop they have this change. Let me publish some graphs to show that 
> it makes a difference (CRC is a massive amount of our CPU usage in my 
> profiling of an upload because of compacting, flushing, etc.).  We should 
> also make use of native CRCings -- especially the 2.6 HDFS-6865 and ilk -- in 
> hbase but that is another issue for now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to