On Wed, Sep 16, 2009 at 08:19:36AM +0100, ben@bristolwireless.net wrote:
> Hi all,
>
> http://linux-vserver.org/util-vserver:Cgroups lists the following
> kernel options for getting CGROUP based scheduling working on guests:
> CONFIG_CGROUPS=y
> # CONFIG_CGROUP_DEBUG is not set
> # CONFIG_CGROUP_NS is not set
> CONFIG_CGROUP_FREEZER=y
> CONFIG_CGROUP_DEVICE=y
> CONFIG_CGROUP_SCHED=y
> CONFIG_CGROUP_CPUACCT=y
> CONFIG_CGROUP_MEM_RES_CTLR=y
> I currently have the CONFIG_CGROUP_NS option set in my kernels. Does
> this mean add extra namespace support, or I am preventing the Cgroup
> based scheduling from working by enabling it? Should I unset it and
> rebuild?
yes, with CGROUP_NS enabled, you basically block
the 'normal' cgroup scheduling which is used by
util-vserver, and have to handle the croup namespace
yourself ...
HTH,
Herbert
> Cheers,
> ==
> From Ben Green