[Gllug] Fedora 16 Cgroups

Richard W.M. Jones rich at annexia.org
Sat Apr 28 07:35:14 UTC 2012

On Sat, Apr 28, 2012 at 12:04:41AM +0100, Mick Farmer wrote:
> Dear Richard,
> Is it possible to leave the cgroups code in the kernel, but just turn
> off using it?

Sure!  Just unmount /sys/fs/cgroup.  Certainly systemd and libvirt are
written to ignore cgroups if this directory isn't mounted.

However I wonder why you'd want to do this.  cgroups isn't some sort
of module in the kernel which does nothing when it's not used.  It's
an invasive set of changes that affect just about every important
kernel structure, so if you're using processes or networks, you're
using cgroups even if you're not using any features of it.

It could be better to learn cgroups.  It's a reasonably neat and
sensible partitioning and resource allocation feature.


Richard Jones
Red Hat
Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list