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

clock_gettime() takes 0.24% in OLTP RO

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1
    • Fix Version/s: 10.1.6
    • Component/s: OTHER
    • Labels:
      None

      Description

      Data comes from Sandy Bridge system running sysbench OLTP RO in 1 thread against 1 table.

      Call graphs:

      -   0.24%  mysqld  librt-2.15.so        [.] clock_gettime
         - clock_gettime
            + 43.38% tc_release_table(TABLE*)
            + 40.03% dispatch_command(enum_server_command, THD*, char*, unsigned int)
            + 10.67% MDL_context::acquire_lock(MDL_request*, double)
            + 5.93% mysql_lock_tables(THD*, st_mysql_lock*, unsigned int)

      Check if there's cheaper timer available.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              svoj Sergey Vojtovich
              Reporter:
              svoj Sergey Vojtovich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: