Rate This Document
Findability
Accuracy
Completeness
Readability

CRC32 Instruction Optimization

Application scenario: The CRC32 function is frequently invoked in databases. The CRC32 algorithm contained in the database kernel is implemented using the C language. Its performance is low and may become a system performance bottleneck.

Technical principle: Kunpeng CRC32 hardware instructions and SVE3 assembly instructions are used to replace the software implementation of the CRC32 algorithm in multiple scenarios, thereby improving system performance.

Performance metric: The performance in YCSB workloada and workloadc scenarios is improved by 5% on average.