Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-22641

Provide SIMD optimized wrapper for zlib crc32()

Details

    Description

      Currently, MariaDB uses a hardware optimized version of the zlib crc32() function for x86 only in mariabackup (crc32_iso3309() is using the pclmul instruction). For POWER, it could be (but has not yet been) optimized by using the vpmsum instruction.

      We should make an optimized implementation available across all platforms (x86, ARMv8, POWER) and replace all direct calls to crc32_iso3309() or the the zilb function crc32() with calls to a new wrapper function my_crc32(), until the acceleration has been integrated in zlib.

      Attachments

        Issue Links

          Activity

            Because these changes depend on ARM acceleration of CRC-32C that was implemented earlier in 10.5, let us only target 10.5 for now.

            marko Marko Mäkelä added a comment - Because these changes depend on ARM acceleration of CRC-32C that was implemented earlier in 10.5, let us only target 10.5 for now.

            People

              marko Marko Mäkelä
              krunalbauskar Krunal Bauskar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.