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

MY_RELAX_CPU assembly instruction upgrade/research for memory barrier on ARM

    XMLWordPrintable

Details

    Description

      From the latest Mysql 8.0.23(2021/1/18) release, we found there are the same optimization towards MY_RELAX_CPU. See below
      https://github.com/mysql/mysql-server/commit/f2a4ed5b65a6c03ee1bea60b8c3bb4db64dbed10

      In current situation for Mariadb server, we introduced
      define UT_RELAX_CPU() _asm_ _volatile_ ("":::"memory")
      like https://jira.mariadb.org/browse/MDEV-23633 .

      For the specific instruction, such as DMB/DSB/ISB(https://developer.arm.com/documentation/dui0489/c/CIHGHHIE), we need to deep analysis or test on ARM, which one is good for ARM.

      So this JIRA ticket will trace the test result and following fix/upgrade for this goal. But let's wait for whether this extra operation is visible in some benchmarks.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              bzhaoopenstack ZhaoBo
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.