Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9948

master::Slave::hasExecutor occupies 37% of a 150 second perf sample.

    XMLWordPrintableJSON

    Details

      Description

      If you drop the attached perf stacks into flamescope, you can see that mesos::internal::master::Slave::hasExecutor occupies 37% of the overall samples!

      This function does 3 hashmap lookups, 1 can be eliminated for a quick win. However, the larger improvement here will come from eliminating many of the calls to this function.

      This was reported by longfei.

        Attachments

        1. long-fei-enable-debug-slow-master.gz
          1.99 MB
          Benjamin Mahler

          Issue Links

            Activity

              People

              • Assignee:
                bbannier Benjamin Bannier
                Reporter:
                bmahler Benjamin Mahler
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: