Fully disabling cgroups for desktops?
by upnort from LinuxQuestions.org on (#5GEVZ)
Is there a way to fully disable cgroups on desktop systems? Or are desktop users stuck with cgroups to one degree or another?
With the changes in Current, the mount command output is populated with significant cgroups spew.
Okay, rc.S provides a clue to avoid that by removing the /etc/mtab sym link to /proc/mounts. rc.S then will create a traditional /etc/mtab file. That reduces mount output spew.
I don't know what issues using /etc/mtab as a file creates. Understandably Pat resisted long but has thrown in the towel although still supporting /etc/mtab as a file. Does that impact the system? I am guessing mostly or probably not for most users otherwise Pat would have written the rc.S snippet to enforce the sym link.
Quieting the mount output is helpful, but the underlying cgroup processes and file systems still exist. This was true with 14.2 too only that /etc/mtab as a file masked that information.
There is a snippet in rc.S to mount the control groups file system interface. That snippet could be commented out to further reduce cgroup spew but not fully.
Avoiding cgroups does not seem possible because elogind seems to be designed with an expectation of cgroups.
There is the kernel boot parameter cgroup_disable, but using that parameter results in udev spew complaints during boot.
There is the option of recompiling the kernel without cgroup support. I don't know how much that breaks the system and I haven't yet tested.
Thanks. :)


With the changes in Current, the mount command output is populated with significant cgroups spew.
Okay, rc.S provides a clue to avoid that by removing the /etc/mtab sym link to /proc/mounts. rc.S then will create a traditional /etc/mtab file. That reduces mount output spew.
I don't know what issues using /etc/mtab as a file creates. Understandably Pat resisted long but has thrown in the towel although still supporting /etc/mtab as a file. Does that impact the system? I am guessing mostly or probably not for most users otherwise Pat would have written the rc.S snippet to enforce the sym link.
Quieting the mount output is helpful, but the underlying cgroup processes and file systems still exist. This was true with 14.2 too only that /etc/mtab as a file masked that information.
There is a snippet in rc.S to mount the control groups file system interface. That snippet could be commented out to further reduce cgroup spew but not fully.
Avoiding cgroups does not seem possible because elogind seems to be designed with an expectation of cgroups.
There is the kernel boot parameter cgroup_disable, but using that parameter results in udev spew complaints during boot.
There is the option of recompiling the kernel without cgroup support. I don't know how much that breaks the system and I haven't yet tested.
Thanks. :)