Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6242 [Umbrella] Miscellaneous Scheduler Performance Improvements
  3. YARN-6681

Eliminate double-copy of child queues in canAssignToThisQueue

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      20% of the time in AbstractCSQueue#canAssignToThisQueue is spent performing two duplications a treemap of child queues into a list - once to test for null, second to see if it's empty. Eliminating the dups reduces the overhead to 2%.

      Attachments

        1. YARN-6681.trunk.patch
          3 kB
          Daryn Sharp
        2. YARN-6681.branch-2.patch
          3 kB
          Daryn Sharp
        3. YARN-6681.branch-2.8.patch
          3 kB
          Daryn Sharp
        4. YARN-6681.2.trunk.patch
          3 kB
          Daryn Sharp
        5. YARN-6681.2.branch-2.patch
          3 kB
          Daryn Sharp
        6. YARN-6681.2.branch-2.8.patch
          3 kB
          Daryn Sharp

        Activity

          People

            daryn Daryn Sharp
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: