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 "Ptroc (Jira)" <ji...@apache.org> on 2025/08/19 02:53:00 UTC
[jira] [Created] (HADOOP-19655) Add RISC-V Zbc (CLMUL) hardware-accelerated CRC32/CRC32C implementation
Ptroc created HADOOP-19655:
------------------------------
Summary: Add RISC-V Zbc (CLMUL) hardware-accelerated CRC32/CRC32C implementation
Key: HADOOP-19655
URL: https://issues.apache.org/jira/browse/HADOOP-19655
Project: Hadoop Common
Issue Type: Improvement
Components: hadoop-common, performance
Affects Versions: 3.5.0
Reporter: Ptroc
Fix For: 3.5.0
This patch introduces hardware-accelerated CRC32 and CRC32C algorithms for RISC-V platforms supporting the Zbc extension (CLMUL instructions) in bulk_crc32_riscv.c.
Key changes:
* Implements optimized CRC32 and CRC32C routines using CLMUL instructions for zlib and Castagnoli polynomials.
* Automatically switches to hardware acceleration when Zbc is available, otherwise falls back to generic table-based software implementation.
* Maintains compatibility with platforms lacking Zbc support.
This optimization improves CRC performance on RISC-V CPUs with Zbc extension.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org