Bug #79325 Use hardware optimized crc32 for binary log checksums
Submitted: 18 Nov 2015 12:39 Modified: 20 Nov 2015 7:48
Reporter: Alexey Kopytov Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Replication Severity:S3 (Non-critical)
Version:5.6, 5.7 OS:Any
Assigned to: CPU Architecture:Any

[18 Nov 2015 12:39] Alexey Kopytov
Description:
This is similar to bug #79155. InnoDB uses hardware optimized CRC32, but binlog checksums use the CRC32 implementation from zlib, which contains only software implementation.

How to repeat:
Check the source code for checksum_crc32() in libbinlogevents/include/binary_log.h and crc32() in zlib.
[20 Nov 2015 7:48] MySQL Verification Team
Hello Alexey,

Thank you for the feature request.

Thanks,
Umesh
[22 Dec 2015 5:15] Daniel Black
patch is part of https://github.com/mysql/mysql-server/pull/41
[6 Apr 2016 1:48] Daniel Black
technically innodb uses crc32c and the binlogs use crc32(-ieee) so a new optimized crc32(-ieee) implementation is needed