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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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.8.patch
          3 kB
          Daryn Sharp
        3. YARN-6681.branch-2.patch
          3 kB
          Daryn Sharp
        4. YARN-6681.2.branch-2.8.patch
          3 kB
          Daryn Sharp
        5. YARN-6681.2.branch-2.patch
          3 kB
          Daryn Sharp
        6. YARN-6681.2.trunk.patch
          3 kB
          Daryn Sharp

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment