Ask Your Question

What does Cgroup mean?

asked 2023-04-07 19:38:44 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2023-04-07 19:38:56 +0000

qstack gravatar image

Cgroup, which stands for Control Groups, is a Linux kernel feature that allows you to manage and limit the system resources, such as CPU, memory, and I/O, used by a group of processes. Cgroups enable the organization of processes into a hierarchical structure, making it easier to allocate, account for, and control the usage of system resources.

Cgroups were initially introduced in Linux kernel version 2.6.24 and have since evolved into two versions: cgroup v1 and cgroup v2. The primary goal of cgroups is to provide a unified and consistent way to manage system resources and to prevent specific processes or groups of processes from monopolizing system resources, ensuring fair distribution and preventing system instability.

Cgroups are widely used in containerization technologies, such as Docker and Kubernetes, to enforce resource limits and manage resource usage for containers, providing isolation and resource control for running applications. They are also used in high-performance computing environments, like Slurm, to manage resources for compute nodes and jobs.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer

Question Tools

1 follower


Asked: 2023-04-07 19:38:44 +0000

Seen: 30 times

Last updated: Apr 07 '23