Rate This Document
Findability
Accuracy
Completeness
Readability

CRC32 Instruction Optimization

Application scenario: The CRC32 function is frequently invoked in kernel space. The Linux kernel contains the C language implementation of the CRC32 algorithm. Its performance is low and may become a system performance bottleneck.

Technical principle: Kunpeng CRC32 hardware instructions are used to replace the software implementation of the CRC32 algorithm, thereby improving system performance.

Performance metric:

  • The performance is improved by 5% in sysbench write scenarios.

  • The RocksDB performance is improved by 5% in Yahoo! Cloud Serving Benchmark (YCSB) write scenarios.