Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-2418

LP #1176496: Optimization in buf_pool_get_oldest_modification if srv_buf_pool_instances == 1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      **Reported in Launchpad by Laurynas Biveinis last update 09-05-2013 04:03:02

      buf_pool_get_oldest_modification() loops over all buffer pool instances, acquiring the flush list mutex for each of them.

      Before the loop it enters the log flush order mutex:

      /* When we traverse all the flush lists we don't want another
      thread to add a dirty page to any flush list. */
      log_flush_order_mutex_enter();

      In the case of srv_buf_pool_instances == 1 this is unnecessary as the flush list mutex will take care of it

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            lpjirasync lpjirasync (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Smart Checklist