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

Reduce the amount of fil_space_t lookups

Details

    Description

      In InnoDB, fil_system->mutex is one of the most contended mutexes. We should reduce the amount of work done while holding this mutex.
      One such source of work is tablespace lookups.
      During a page flush, we could look up the tablespace only once, in buf_flush_write_block_low(), and pass the fil_space_t* to all functions that need it.

      Attachments

        Activity

          marko Marko Mäkelä created issue -
          marko Marko Mäkelä made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          marko Marko Mäkelä added a comment - bb-10.2-marko
          marko Marko Mäkelä made changes -
          Assignee Marko Mäkelä [ marko ] Jan Lindström [ jplindst ]
          Status In Progress [ 3 ] In Review [ 10002 ]

          There is comments that in my understanding require actions or reasons why not.

          jplindst Jan Lindström (Inactive) added a comment - There is comments that in my understanding require actions or reasons why not.
          jplindst Jan Lindström (Inactive) made changes -
          Assignee Jan Lindström [ jplindst ] Marko Mäkelä [ marko ]
          Status In Review [ 10002 ] Stalled [ 10000 ]
          marko Marko Mäkelä made changes -
          issue.field.resolutiondate 2017-04-21 15:31:31.0 2017-04-21 15:31:31.209
          marko Marko Mäkelä made changes -
          Fix Version/s 10.1.23 [ 22503 ]
          Fix Version/s 10.2.6 [ 22527 ]
          Fix Version/s 10.2 [ 14601 ]
          Resolution Fixed [ 1 ]
          Status Stalled [ 10000 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 80406 ] MariaDB v4 [ 151980 ]

          People

            marko Marko Mäkelä
            marko Marko Mäkelä
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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