You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jiandan Yang (JIRA)" <ji...@apache.org> on 2018/01/05 04:50:01 UTC

[jira] [Commented] (YARN-6673) Add cpu cgroup configurations for opportunistic containers

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

Jiandan Yang  commented on YARN-6673:
-------------------------------------

[~miklos.szegedi@cloudera.com] How about setting Cpu share for Opportunistic container 
* CPU_DEFAULT_WEIGHT_OPPORTUNISTIC * containerVCores* 

> 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
>             Fix For: 3.0.0-beta1
>
>         Attachments: YARN-6673.000.patch
>
>
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org