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 "Miklos Szegedi (JIRA)" <ji...@apache.org> on 2017/09/13 20:26:01 UTC
[jira] [Commented] (YARN-6384) Add configuratin to set max cpu
usage when strict-resource-usage is false with cgroups
[ https://issues.apache.org/jira/browse/YARN-6384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16165235#comment-16165235 ]
Miklos Szegedi commented on YARN-6384:
--------------------------------------
[~lolee_k], CGROUP_CPU_PERIOD_US should never be set in non-strict mode. In strict mode, you could restrict to more than the vcores defaulting to 100%.
> Add configuratin to set max cpu usage when strict-resource-usage is false with cgroups
> --------------------------------------------------------------------------------------
>
> Key: YARN-6384
> URL: https://issues.apache.org/jira/browse/YARN-6384
> Project: Hadoop YARN
> Issue Type: Improvement
> Reporter: dengkai
> Attachments: YARN-6384-0.patch, YARN-6384-1.patch, YARN-6384-2.patch
>
>
> When using cgroups on yarn, if yarn.nodemanager.linux-container-executor.cgroups.strict-resource-usage is false, user may get very more cpu time than expected based on the vcores. There should be a upper limit even resource-usage is not strict, just like a percentage which user can get more than promised by vcores. I think it's important in a shared cluster.
--
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