[ 
https://issues.apache.org/jira/browse/YARN-6673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16056095#comment-16056095
 ] 

ASF GitHub Bot commented on YARN-6673:
--------------------------------------

Github user haibchen commented on a diff in the pull request:

    https://github.com/apache/hadoop/pull/232#discussion_r123030657
  
    --- Diff: 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/resources/CGroupsCpuResourceHandlerImpl.java
 ---
    @@ -72,6 +74,7 @@
       static final int MIN_PERIOD_US = 1000;
       @VisibleForTesting
       static final int CPU_DEFAULT_WEIGHT = 1024; // set by kernel
    --- End diff --
    
    Can we rename CPU_DEFAULT_WEIGHT to CPU_DEFAULT_WEIGHT_GUARANTEED for 
clarity?


> Add cpu cgroup configurations for opportunistic containers
> ----------------------------------------------------------
>
>                 Key: YARN-6673
>                 URL: https://issues.apache.org/jira/browse/YARN-6673
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Haibo Chen
>            Assignee: Miklos Szegedi
>
> In addition to setting cpu.cfs_period_us on a per-container basis, we could 
> also set cpu.shares to 2 for opportunistic containers so they are run on a 
> best-effort basis



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to