Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7069

some items are missing in the root control group in cgroups v2

$
0
0

I'm using cgroups v2 in my ubuntu24.04, and I'm confused about the root control group because some items are missing compared to the non-root control group, taking cpu controller for example:

$ ll /sys/fs/cgroup/...-rw-r--r--  1 root root 0 Nov 27 16:46 cpu.pressure-r--r--r--  1 root root 0 Nov 27 16:46 cpu.stat-r--r--r--  1 root root 0 Nov 27 16:46 cpu.stat.local...

there are only three items for the cpu contoller but ten:

$ ll /sys/fs/cgroup/test/...-rw-r--r--  1 root root 0 Dec  2 20:41 cpu.idle-rw-r--r--  1 root root 0 Dec  2 20:41 cpu.max-rw-r--r--  1 root root 0 Dec  2 20:41 cpu.max.burst-rw-r--r--  1 root root 0 Dec  2 20:41 cpu.pressure-r--r--r--  1 root root 0 Dec  2 20:41 cpu.stat-r--r--r--  1 root root 0 Dec  2 20:41 cpu.stat.local-rw-r--r--  1 root root 0 Dec  2 20:41 cpu.uclamp.max-rw-r--r--  1 root root 0 Dec  2 20:41 cpu.uclamp.min-rw-r--r--  1 root root 0 Dec  2 20:41 cpu.weight-rw-r--r--  1 root root 0 Dec  2 20:41 cpu.weight.nice...

all controllers all enabled in the root control group:

$ cat /sys/fs/cgroup/cgroup.controllers cpuset cpu io memory hugetlb pids rdma misc

why are there only three items in the root control group for cpu controller? what makes the root control group so special?


Viewing all articles
Browse latest Browse all 7069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>