[PATCH] cgroupfs: create /sys/fs/cgroup to mount cgroupfs on

Paul Menage menage at google.com
Thu Jul 22 11:44:50 PDT 2010


On Thu, Jul 22, 2010 at 11:36 AM, Greg KH <gregkh at suse.de> wrote:
>
> Really?  I see systems mounting it at /cgroups/ in the filesystem today.

Sure, it *can* be mounted as a single instance, but you then lose
flexibility. E.g. at Google we want to have a different hierarchy for
the CPU subsystem (with the tree grouped according to
latency-sensitive versus batch, etc) and memory (grouped according to
what jobs are sharing memory with each other).

> Where are you expecting it to be mounted at?

I have no particular expectation. (At Google we're actually using
/dev/cgroup/* but that's just for historical reasons, from
/dev/cpuset). Under /sys/fs/cgroup sounds reasonable, but you'd want
people to have the ability to manually create subdirs in there for
separate mount points.

Paul


More information about the Containers mailing list