[
https://issues.apache.org/jira/browse/MESOS-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14614173#comment-14614173
]
haosdent commented on MESOS-2154:
---------------------------------
For docker <= 1.6, seems only could use lxc as exec-driver and then set
"lxc.cgroup.cpu.cfs_quota_us" and "lxc.cgroup.cpu.cfs_period_us".
For docker > 1.6, docker have cpu-period and cpu-quota options. Do we need
support both of them? And also is it possible to support old docker use
cfs_quota_us and cfs_period_us which use libcontainier as exec-driver?
> Port CFS 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: haosdent
> Priority: Minor
>
> Port the CFS 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)