Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5, 10.6, 10.11
-
AMD64
Description
MDEV-22749 introduced faster checksum calculation on AMD64 by means of the 128-bit carry-less multiplication (pclmul) of the AVX ISA extension. Some recent ISA extensions include wider vpclmulqdq as well as vmovdqu8, which allows unaligned loads of up to 64 bytes at a time. Making use of these instructions could greatly improve performance.
Some reference implementations exist in NASM format in https://github.com/intel/intel-ipsec-mb/ and https://github.com/intel/isa-l/ under the BSD 3-clause license. CRC-32 with the ISO 3309 polynomical is called gzip, and the Castagnoli polynomial is referred to as SCTP or iSCSI.
Attachments
Issue Links
- causes
-
MDEV-34510 UBSAN: crc32 x86 - integer overflow
- Closed
-
MDEV-34565 MariaDB crashes with SIGILL because the OS does not support AVX512
- Closed
- is blocked by
-
MDEV-22749 Implement portable PCLMUL accelerated crc32() with Intel intrinsics
- Closed
- relates to
-
MDEV-34062 mariadb-backup --backup is extremely slow at copying ib_logfile0
- Closed
-
MDEV-34070 mariadb-backup --prepare with larger --use-memory may be slower
- Confirmed