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

clock_gettime() takes 0.24% in OLTP RO

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.1(EOL)
    • 10.1.6
    • OTHER
    • 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

            svoj Sergey Vojtovich created issue -
            svoj Sergey Vojtovich made changes -
            Field Original Value New Value
            Epic Link MDEV-7941 [ 50796 ]
            svoj Sergey Vojtovich made changes -
            Affects Version/s 10.1 [ 16100 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.1 [ 16100 ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Workflow MariaDB v2 [ 60407 ] MariaDB v3 [ 66082 ]
            svoj Sergey Vojtovich made changes -
            Assignee Sergey Vojtovich [ svoj ]
            svoj Sergey Vojtovich made changes -
            Rank Ranked higher
            svoj Sergey Vojtovich made changes -
            Sprint 10.1.6-1 [ 6 ]

            serg, please review patch for this task:

            [Commits] 3f0b023: MDEV-7952 - clock_gettime() takes 0.24% in OLTP RO

            svoj Sergey Vojtovich added a comment - serg , please review patch for this task: [Commits] 3f0b023: MDEV-7952 - clock_gettime() takes 0.24% in OLTP RO
            svoj Sergey Vojtovich made changes -
            Assignee Sergey Vojtovich [ svoj ] Sergei Golubchik [ serg ]
            Status Open [ 1 ] In Review [ 10002 ]
            serg Sergei Golubchik made changes -
            Status In Review [ 10002 ] Stalled [ 10000 ]
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ] Sergey Vojtovich [ svoj ]
            svoj Sergey Vojtovich made changes -
            svoj Sergey Vojtovich made changes -
            Component/s OTHER [ 10125 ]
            Fix Version/s 10.1.6 [ 19401 ]
            Fix Version/s 10.1 [ 16100 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 66082 ] MariaDB v4 [ 149032 ]

            People

              svoj Sergey Vojtovich
              svoj Sergey Vojtovich
              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.