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

Protocol::write() takes 0.07% in OLTP RO

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.1(EOL)
    • 10.2(EOL)
    • None
    • None

    Description

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

      Call graphs:

      -   0.07%  mysqld  mysqld
         - Protocol::write()
            + 38.69% end_send(JOIN*, st_join_table*, bool)
            + 31.51% select_send::send_result_set_metadata(List<Item>&, unsigned int)
            + 27.18% select_send::send_data(List<Item>&)
            + 1.43% end_send_group(JOIN*, st_join_table*, bool)
            + 1.18% Protocol::send_result_set_metadata(List<Item>*, unsigned int)

      A very good candidate for inlining:

      bool Protocol::write()
      {
        DBUG_ENTER("Protocol::write");
        DBUG_RETURN(my_net_write(&thd->net, (uchar*) packet->ptr(),
                                 packet->length()));
      }

      Attachments

        Activity

          There are no comments yet on this issue.

          People

            bar Alexander Barkov
            svoj Sergey Vojtovich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.