Jie Yu created MESOS-6265:
-----------------------------
Summary: Adjust cgroups layout for nested containers.
Key: MESOS-6265
URL: https://issues.apache.org/jira/browse/MESOS-6265
Project: Mesos
Issue Type: Task
Reporter: Jie Yu
Currently, the freezer cgroup layout is:
/sys/fs/cgroup/freezer/mesos/<x>/<y>/<z>
I am wondering if we should change it to:
/sys/fs/cgroup/freezer/mesos/<x>/mesos/<y>/mesos/<z>
Two reasons:
1) Allow us to deal with user created cgroups. Imagine we start to support
cgroups namespace and run docker daemon inside our container. We should allow
docker to create cgroups underneath our cgroup, and we should not treat Docker
cgroups as part of a nested container.
2) It's always nice to have a top level root for each level of nesting. That
allows us to do more resource control like setting the memory limit for all
nested containers in a level, or setting cfs quota for all nested containers,
etc. in the future.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)