Bug #79747 CRC32: add aarch64 and power8, use optimized for binlogs and CRC32() (contributi
Submitted: 22 Dec 2015 23:20 Modified: 23 Dec 2015 7:02
Reporter: OCA Admin (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:5.7 OS:Any
Assigned to: CPU Architecture:Any

[22 Dec 2015 23:20] OCA Admin
Description:
This bug tracks a contribution by Daniel Black (Github user: grooverdan) as described in http://github.com/mysql/mysql-server/pull/41

How to repeat:
See description

Suggested fix:
See contribution code attached
[22 Dec 2015 23:20] OCA Admin
Contribution submitted via Github - CRC32: add aarch64 and power8, use optimized for binlogs and CRC32() 
(*) Contribution by Daniel Black (Github grooverdan, mysql-server/pull/41#issuecomment-166732987): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_54333562.txt (text/plain), 132.36 KiB.

[22 Dec 2015 23:49] Daniel Black
Solves bugs:

Bug #79325 Use hardware optimized crc32 for binary log checksums
Bug #79155 Use hardware optimized crc32 for CRC32() function.
Bug #74776 InnoDB checksums (new or crc32) use too much CPU on POWER8
[23 Dec 2015 7:02] MySQL Verification Team
Hello!

Thank you for the report and contribution.

Thanks,
Umesh
[19 Feb 2016 0:47] Stewart Smith
this and bug 74776 are essentially the same - except 74776 is > 1year older.
[8 Mar 2016 4:18] Daniel Black
crc32-all.patch

Attachment: crc32-all.patch (text/x-patch), 146.50 KiB.

[8 Mar 2016 4:23] Daniel Black
Above patch is rebased on 5.7. It includes the Bug#21484716/#21120300 PROBLEM COMPILING MYSQL 5.7 ON SOLARIS 11.3 fixes

It also fixes an the PPC64 calling convention as per upstream https://github.com/antonblanchard/crc32-vpmsum/compare/f2145e5858c283d6a95ea1bc613db50b4d5...
[7 Apr 2016 14:14] OCA Admin
Contribution submitted via Github - bug 79747: crc32 optmizations 
(*) Contribution by Daniel Black (Github grooverdan, mysql-server/pull/68#issuecomment-206590166): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_65398703.txt (text/plain), 202.01 KiB.