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

Add notional delay (using existing ut_delay) while spinning for registering reader in rw-locks

    XMLWordPrintable

    Details

      Description

      • Currently when latches are acquired by the flow it spins w/o any wait before the latch is acquired. Check the logic here rw_lock_lock_word_decr
      • If we introduce a short delay to this logic using ut_delay before trying the next iteration it has shown to have +ve effect on performance.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              krunalbauskar Krunal Bauskar
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.