Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
Currently, MariaDB uses a hardware optimized version of the zlib crc32() function for x86 only in mariabackup (crc32_iso3309() is using the pclmul instruction). For POWER, it could be (but has not yet been) optimized by using the vpmsum instruction.
We should make an optimized implementation available across all platforms (x86, ARMv8, POWER) and replace all direct calls to crc32_iso3309() or the the zilb function crc32() with calls to a new wrapper function my_crc32(), until the acceleration has been integrated in zlib.
Attachments
Issue Links
- blocks
-
MDEV-19935 Create unified CRC-32 interface
- Closed
-
MDEV-22749 Implement portable PCLMUL accelerated crc32() with Intel intrinsics
- Closed
- causes
-
MDEV-23585 checksum.c: only use clmul if available
- Closed
- relates to
-
MDEV-22669 InnoDB lacks CRC-32C acceleration on IA-32
- Closed
-
MDEV-22887 compilation failure on xenial-ppc64le
- Closed