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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: