How can I turn on cgroup v2 CPU controller on modern Ubuntu?

in flag

On Ubuntu 22.04, I get:

# cat /sys/fs/cgroup/cgroup.controllers
cpuset memory hugetlb pids rdma misc

I really need cpu contoller. Could you, please, help on how to enable it?

in flag

As explained here an I needed just to add cgroup_no_v1=all as a kernel boot option in my grub config and update grub, and reboot. And here it is. None legacy cpu is mounted as cgroup v1. So it becomes available for cgroup v2.

I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.