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

haosdent commented on MESOS-2154:
---------------------------------

[~zhitao][~mansheng] A workaround for this is to specify the {{cpu-period}} and 
{{cpu-quota}} in the {{parameters}} field of {{DockerInfo}}. Then 
{{Docker::run}} would delegate this to the docker daemon.

> Port CFS quota support to Docker Containerizer
> ----------------------------------------------
>
>                 Key: MESOS-2154
>                 URL: https://issues.apache.org/jira/browse/MESOS-2154
>             Project: Mesos
>          Issue Type: Improvement
>          Components: docker, isolation
>    Affects Versions: 0.21.0
>         Environment: Linux (Ubuntu 14.04.1)
>            Reporter: Andrew Ortman
>            Assignee: Steve Niemitz
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> Port the CFS quota support the Mesos Containerizer has to the Docker 
> Containerizer. Whenever the --cgroup_enable_cfs flag is set, the Docker 
> Containerizer should update the cfs_period_us and cfs_quota_us values to 
> allow hard CPU capping on the container. 
> Current workaround is to pass those values as LXC configuration parameters



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to