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 "Wangda Tan (JIRA)" <ji...@apache.org> on 2017/08/30 22:09:00 UTC

[jira] [Created] (YARN-7136) Additional Performance Improvement for Resource Profile Feature

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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org