Kahibaro
Discord Login Register

7.5.5 cgroups

Overview and Concepts

Control Groups (cgroups) are a kernel feature that lets you partition and limit a machine’s resources among groups of processes. They are heavily used by containers, systemd, and schedulers.

At a high level, cgroups provide:

Unlike namespaces (which provide isolation of views like PID, mount, net), cgroups control resource usage and distribution.

Cgroup v1 vs cgroup v2

There are two major generations:

Many systems run in a hybrid mode: a cgroup v2 unified hierarchy plus some v1 controllers. For new design and internals understanding, focus on v2.

Check what is in use with:

Views: 86

Comments

Please login to add a comment.

Don't have an account? Register now!