hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-6681) Eliminate double-copy of child queues in canAssignToThisQueue
Date Thu, 01 Jun 2017 16:57:04 GMT
Daryn Sharp created YARN-6681:
---------------------------------

             Summary: Eliminate double-copy of child queues in canAssignToThisQueue
                 Key: YARN-6681
                 URL: https://issues.apache.org/jira/browse/YARN-6681
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: resourcemanager
    Affects Versions: 2.8.0
            Reporter: Daryn Sharp
            Assignee: Daryn Sharp


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%.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message