[
https://issues.apache.org/jira/browse/MESOS-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15212580#comment-15212580
]
Jie Yu commented on MESOS-2154:
-------------------------------
commit 3927ba77a771acca3e38708a2b79e7556d2a3204
Author: Steve Niemitz <[email protected]>
Date: Fri Mar 25 16:03:07 2016 -0700
Fix for docker containerizer not configuring CFS quotas correctly.
Note that this patch only handles the custom executor case. Command task
case is not handled yet due to some technical difficulty. Please see
details in comments of r33174.
It would be nice to refactor all this isolation code in a way that can
be shared between all containerizers, as this is basically just copied
from the CgroupsCpushareIsolator, but that's a much bigger undertaking.
Review: https://reviews.apache.org/r/33174/
> 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: 0.29.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)