Re: [vserver] Treament of Cgroup filesystems by util-vserver

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Wed 10 Mar 2010 - 15:48:13 GMT
Message-ID: <58745.192.168.102.6.1268236093.squirrel@intranet>

ben@bristolwireless.net wrote:
> Hi,
>
> I've a suggestion for the way cgroup filesystems are handled in
> util-vserver. I think that the different subsystems should be mounted
> at different directories within /dev/cgroup. For example
> /dev/cgroups/cpuset would be mounted with:
>
> mount -t cgroup -o cpuset vserver /dev/cgroup/cpuset
>
> and so on for the different subsystems:
>
> mount -t cgroup -o cpu vserver /dev/cgroup/cpu
> mount -t cgroup -o net_cls vserver /dev/cgroup/net_cls
> mount -t cgroup -o devices vserver /dev/cgroup/devices
>
> This approach appears as a suggestion within the kernel documentation
> and would allow the most flexibility in terms of how admins would be
> able to group seperate subsystems. For example, one may not want to
> group net_cls cgroups in the same way as cpusets cgroups. There is
> already a method to specify which subsystems are mounted, by setting
> /etc/vservers/.defaults/cgroups/subsys , which is most handy. IMHO it
> would be better if those subsystem were mounted separately by
> util-vserver.
>
> Any thoughts?

What problems does it actually fix? What use-cases does it let us
support?

Daniel
Received on Wed Mar 10 16:03:09 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 10 Mar 2010 - 16:03:10 GMT by hypermail 2.1.8