hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-7136) Additional Performance Improvement for Resource Profile Feature
Date Wed, 30 Aug 2017 22:09:00 GMT
Wangda Tan created YARN-7136:
--------------------------------

             Summary: Additional Performance Improvement for Resource Profile Feature
                 Key: YARN-7136
                 URL: https://issues.apache.org/jira/browse/YARN-7136
             Project: Hadoop YARN
          Issue Type: Sub-task
            Reporter: Wangda Tan
            Assignee: Wangda Tan
            Priority: Critical


This JIRA is plan to add following misc perf improvements:

1) Use final int in Resources/ResourceCalculator to cache #known-resource-types. (Significant
improvement).
2) Catch Java's ArrayOutOfBound Exception instead of checking array.length every time. (Significant
improvement).
3) Avoid setUnit validation (which is a HashSet lookup) when initialize default Memory/VCores
ResourceInformation (Significant improvement).
4) Avoid unnecessary loop array in Resource#toString/hashCode. (Some improvement).
5) Removed readOnlyResources in BaseResource. (Minor improvement).
6) Removed enum: MandatoryResources, use final integer instead. (Minor improvement).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message