Cgroups v2 provides a unified hierarchy for resource management. Key controllers:
cpu— CPU bandwidth and weightmemory— Memory limits and pressureio— I/O throttling and weightpids— Process count limits
echo "1000000" > /sys/fs/cgroup/mygroup/memory.max