Control groups (cgroups) are a feature of the Linux kernel that provide
mechanisms for partitioning sets of tasks into one or many hierarchical
groups, and associating each group with a set of subsystem resource
parameters that affect their execution performance.
You might use control groups:
To keep a Web server from using all the memory on a system that’s also running a data base
*To keep a backup system from using too much network I/O bandwidth and crashing the business apps running on the same system (我的项目的motivation)
To allocate system resources among user groups of different priority (the faculty, staff and students of a university, for instance)
You might use control groups:
To keep a Web server from using all the memory on a system that’s also running a data base
*To keep a backup system from using too much network I/O bandwidth and crashing the business apps running on the same system (我的项目的motivation)
To allocate system resources among user groups of different priority (the faculty, staff and students of a university, for instance)