“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
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]
: https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html
: Device Memory "DMEM" Cgroup Support Ready For Linux 6.14 To Allow Limiting GPU vRAM - Phoronix