You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "zhangshilong (JIRA)" <ji...@apache.org> on 2016/12/06 03:49:58 UTC

[jira] [Created] (YARN-5969) FairShareComparator getResourceUsage pool performance

zhangshilong created YARN-5969:
----------------------------------

             Summary: FairShareComparator getResourceUsage pool performance
                 Key: YARN-5969
                 URL: https://issues.apache.org/jira/browse/YARN-5969
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: fairscheduler
    Affects Versions: 2.7.1
            Reporter: zhangshilong


in FairShareComparator.java, the performance of function getResourceUsage()  is very pool. It will be executed above 100,000,000 times per second.
In our scene, It  takes 20 seconds per minute.  
A simple solution is to reduce call counts  of the function.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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