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

InnoDB internal latches do not support hardware lock elision

    XMLWordPrintable

    Details

      Description

      The synchronization primitives implemented in operating system libraries such as GNU libc may support lock elision via transactional memory when supported by the underlying hardware. The native primitives in InnoDB are currently missing that.

      Lock elision could avoid unnecessary memory cache pollution in case a mutex is not contended. For example, when reading or sometimes even writing buf_pool.page_hash or lock_sys.rec_hash, we could avoid modifying cache lines only for the purpose of acquiring and releasing latches.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marko Marko Mäkelä
              Reporter:
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration