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

clock_gettime() takes 0.24% in OLTP RO

    Details

    • Type: Bug
    • Status: Closed
    • 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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              svoj Sergey Vojtovich added a comment -

              Sergei Golubchik, please review patch for this task:

              [Commits] 3f0b023: MDEV-7952 - clock_gettime() takes 0.24% in OLTP RO
              
              Show
              svoj Sergey Vojtovich added a comment - Sergei Golubchik , please review patch for this task: [Commits] 3f0b023: MDEV-7952 - clock_gettime() takes 0.24% in OLTP RO

                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:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 30 minutes
                    30m

                      Agile