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

ASF GitHub Bot commented on HADOOP-19849:
-----------------------------------------

PeterPtroc commented on PR #8371:
URL: https://github.com/apache/hadoop/pull/8371#issuecomment-4163618339

   > Modern JDKs should be able to leverage hardware capabilities to speed up 
CRC32/CRC32C calculations. Have you compared this implementation with the JDK 
built-in one? If JDK does this well, seems we don't need to duplicate this on 
the Hadoop side.
   
   Great point. I agree that leveraging JDK intrinsics is the way to go if the 
performance is on par or better. I'm running some benchmarks to compare our 
implementation against the built-in CRC32/CRC32C on modern JDKs across 
different environments. I'll update the thread with the results once I have 
them.




> [RISC-V] Add Zbc-accelerated native CRC32C path in bulk CRC implementation
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-19849
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19849
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: common
>    Affects Versions: 3.5.1
>            Reporter: Ptroc
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.5.1
>
>
> This change adds a riscv64 native CRC32C acceleration path in the existing 
> bulk CRC implementation using Zbc (CLMUL) instructions. It introduces CRC32C 
> bitwise fallback, pipelined processing, and runtime hookup of the CRC32C 
> function pointer when Zbc is detected.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to