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

More fine grained control of spin loops could be useful

Details

    Description

      In an attempt to address MDEV-34178, I enabled spin loops on dict_index_t::lock. This helps in some workloads and causes performance degradation in others, especially when there are large numbers of concurrent connections.

      It could make sense to enable spin loops on a case-by-case basis, or to introduce a configuration parameter for choosing when index tree latch acquisition should include spin loops.

      Attachments

        Issue Links

          Activity

            I am setting this to Blocker to avoid a potentially severe performance regression in the upcoming quarterly releases. I will address this in about a month, after returning from vacation.

            marko Marko Mäkelä added a comment - I am setting this to Blocker to avoid a potentially severe performance regression in the upcoming quarterly releases. I will address this in about a month, after returning from vacation.
            marko Marko Mäkelä added a comment - - edited

            Work on this has been blocked by some performance improvements that could have a larger impact, such as MDEV-34515, MDEV-34759, MDEV-34791. I hope to return to this soon.

            marko Marko Mäkelä added a comment - - edited Work on this has been blocked by some performance improvements that could have a larger impact, such as MDEV-34515 , MDEV-34759 , MDEV-34791 . I hope to return to this soon.

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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