Fedora 31 Planning To Use Cgroups V2 By Default

Written by Michael Larabel in Linux Kernel on 17 February 2019 at 12:07 AM EST. 1 Comment
LINUX KERNEL
While the Linux kernel has shipped Cgroups V2 as stable since early 2016, on Fedora and most other Linux distributions it hasn't been enabled by default over the original control groups "Cgroups" implementation. But come Fedora 31 later this year, they are now planning to make it the default.

Enabling Cgroups V2 by default will allow systemd and the various Linux container technologies along with libvirt and friends to make use of the new features and improvements over the original Cgroups like offering a unified hierarchy. The new implementation also provides better consistency, purpose-driven flexibility, and other design improvements over the original control groups. It's taken a while for CGroups V2 to become the default due to interface changes compared to V1 and all of the important containers/tooling needing to be adapted to make use of it.

By shifting to Cgroups V2 by default this year, Fedora hopes to lead the way in its adoption. Details and benefits of Cgroups V2 for Fedora are outlined via this change proposal.

See the kernel documentation for all the technical details on Cgroups V2.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week