[ https://issues.apache.org/jira/browse/MESOS-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15418103#comment-15418103 ]
Zhitao Li edited comment on MESOS-2154 at 8/11/16 11:24 PM: ------------------------------------------------------------ [~SteveNiemitz], can you elaborate how you tested this? I tried to run mesos agent with docker containerizer with cfs quota, but it does not seem to work for Mesos's built-in command executor. In my testing, I believe the `__update` function was never invoked and instead short-circuited by a log line line like: ``` I0811 21:39:28.470679 95229 docker.cpp:1443] Ignoring updating container 'ec3f2387-40de-4341-887d-68a0acce829a' with resources passed to update is identical to existing resources ``` was (Author: zhitao): [~SteveNiemitz], can you elaborate how you tested this? I tried to run mesos agent with docker containerizer with cfs quota, but it does not seem to work for Mesos's built-in command executor. > 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)