cgroup

“cgroup” stands for “control group” and is never capitalized.

cgroup is a mechanism to organize processes hierarchically and distribute system resources along the hierarchy in a controlled and configurable manner.[1]

The simplest what to use it is to use systemd and change the .service file of a service:

[Service]
CPUQuota=50%
MemoryMax=512M

History

6.14

The new "dmem" control-group controller regulates access to device memory, such as that found on graphics cards. For now wired with Intel Xe kernel graphics. Documentation is sparse, but there is a brief guide to the configuration of this controller available.[2] [3]

Sources: