Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use hardware accelerated CRC32 (2.4) #336

Merged
merged 4 commits into from Apr 5, 2017

Conversation

gl-sergei
Copy link
Contributor

No description provided.

@gl-sergei
Copy link
Contributor Author

VasilyNemkov and others added 4 commits March 30, 2017 11:18
Bug 1089681: xtrabackup export - support tables with more than 31 ind…
Blueprint:

<https://blueprints.launchpad.net/percona-xtrabackup/+spec/use-hw-crc32>

xtrabackup is using CRC32 in two places:

-   when producing and reading xbstream format
-   when producing and reading xbcrypt format

Since both places are pure xtrabackup, this patch simply replaces
invocation of `crc32` with `crc32_iso3309` without touching server
code.

`crc32_iso3309` invokes hardware optimized CRC32 implementation taken
from `libgrypt` when `PCLMUL` instruction is available. When `PCLMUL`
isn't available, it falls back to software CRC32 from Zlib.
* 2.3-xb-crc32-pclmul:
  Use hardware accelerated CRC32
@gl-sergei gl-sergei merged commit dac6324 into percona:2.4 Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants