mariadb/storage
Daniel Axtens 2538c7cf89 Use POWER8 accelerated crc32
- Make accelerated checksum available to InnoDB and XtraDB.
 - Fall back to slice-by-eight if not available. The mode used is printed on startup.
 - Will only build on POWER systems at the moment until CMakeLists are modified
   to only add the crc32_power8/ files when building on POWER.

running MySQL-5.7 unittest/gunit/innodb/ut0crc32-t

Before:

1..2
Using software crc32 implementation, CPU is little-endian
ok 1
Using software crc32 implementation, CPU is little-endian
    normal CRC32: real    0.148006 sec
    normal CRC32: user    0.148000 sec
    normal CRC32: sys     0.000000 sec
big endian CRC32: real    0.144293 sec
big endian CRC32: user    0.144000 sec
big endian CRC32: sys     0.000000 sec
ok 2

After:

1..2
Using POWER8 crc32 implementation, CPU is little-endian
ok 1
Using POWER8 crc32 implementation, CPU is little-endian
    normal CRC32: real    0.008097 sec
    normal CRC32: user    0.008000 sec
    normal CRC32: sys     0.000000 sec
big endian CRC32: real    0.147043 sec
big endian CRC32: user    0.144000 sec
big endian CRC32: sys     0.000000 sec
ok 2

Author CRC32 ASM code: Anton Blanchard <anton@au.ibm.com>
ref: https://github.com/antonblanchard/crc32-vpmsum

Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
2015-12-15 15:11:17 +11:00
..
archive Merge branch '10.0' into 10.1 2015-10-12 00:37:58 +02:00
blackhole MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
cassandra Fixed failing tests and compiler warnings 2015-08-18 11:18:58 +03:00
connect Post-merge fixes for Connect engine 2015-11-19 21:23:35 +01:00
csv MDEV-8682 - CSV engine does not properly process "", in quotes 2015-09-28 12:04:26 +04:00
example 5.5.40+ merge 2014-10-09 10:30:11 +02:00
federated Merge branch '10.0' into 10.1 2015-10-12 00:37:58 +02:00
federatedx Merge branch '10.0' into 10.1 2015-11-19 15:52:14 +01:00
heap Sage cleanup in heap storage engine 2015-11-10 13:46:56 +02:00
innobase Use POWER8 accelerated crc32 2015-12-15 15:11:17 +11:00
maria Don't delete non existing .TMD and .OLD files for Aria internal temporary tables 2015-11-10 13:47:28 +02:00
mroonga Merge branch '10.0' into 10.1 2015-11-19 15:52:14 +01:00
myisam add missing DBUG_RETURN-s 2015-11-16 07:55:55 +01:00
myisammrg Follow-up for MDEV-8675 and MDEV-8676 2015-09-14 03:12:54 +03:00
oqgraph cmake: don't repeat yourself 2015-09-04 10:32:02 +02:00
perfschema Merge branch '10.0' into 10.1 2015-10-12 00:37:58 +02:00
sequence MDEV-9039 Can't upgrade MariaDB to to 10.1.8 version from 10.0.21 2015-11-16 07:55:55 +01:00
sphinx Stage 2 of MDEV-6152: 2015-08-21 10:40:51 +04:00
spider Merge branch '10.0' into 10.1 2015-11-19 15:52:14 +01:00
test_sql_discovery MDEV-3929 Add system variable explicit_defaults_for_timestamp for compatibility with MySQL 2015-09-22 14:01:54 +04:00
tokudb fix tokudb compilation with bundled zlib 2015-11-19 16:39:40 +01:00
xtradb Use POWER8 accelerated crc32 2015-12-15 15:11:17 +11:00