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

More fine grained control of spin loops could be useful

    XMLWordPrintable

Details

    • Q3/2025 Maintenance, Q4/2025 Server Maintenance

    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

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              2 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 4d Original Estimate - 4d
                  4d
                  Remaining:
                  Time Spent - 12d 0.25h Remaining Estimate - 3d 6.5h
                  3d 6.5h
                  Logged:
                  Time Spent - 12d 0.25h Remaining Estimate - 3d 6.5h
                  12d 0.25h

                  Git Integration

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