Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
10.5.8
-
ARMv8
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
- causes
-
MDEV-25807 ARM build failure due to missing ISB instruction on ARMv6
- Closed
- relates to
-
MDEV-21452 Use condition variables and normal mutexes instead of InnoDB os_event and mutex
- Closed
-
MDEV-23633 MY_RELAX_CPU performs unnecessary compare-and-swap on ARM
- Closed
-
MDEV-24142 rw_lock_t has unnecessarily complex wait logic
- Closed
-
MDEV-24167 InnoDB unnecessarily uses complex rw-lock implementation
- Closed