System information

124 System Analysis and Tuning Guide
Web browsers such as Firefox will be part of the Web network class, while the NFS
daemons such as (k)nfsd will be part of the NFS network class. On the other side,
Firefox will share appropriate CPU and memory classes depending on whether a pro-
fessor or student started it.
10.3 Control Group Subsystems
The following subsystems are available and can be classified as two types:
Isolation and Special Controllers
cpuset, freezer, devices, checkpoint/restart
Resource Controllers
cpu (scheduler), cpuacct, memory, disk I/O, network
Either mount each subsystem separately:
mount -t cgroup -o cpu none /cpu
mount -t cgroup -o cpuset none /cpuset
or all subsystems in one go; you can use an arbitrary device name (e.g., none), which
will appear in /proc/mounts:
mount -t cgroup none /sys/fs/cgroup
Some additional information on available subsystems:
Cpuset (Isolation)
Use cpuset to tie processes to system subsets of CPUs and memory (“memory
nodes”). For an example, see Section10.4.3, “Example: Cpusets” (page128).
Freezer (Control)
The Freezer subsystem is useful for high-performance computing clusters (HPC
clusters). Use it to freeze (stop) all tasks in a group or to stop tasks, if they reach
a defined checkpoint. For more information, see /usr/src/linux/Docu
mentation/cgroups/freezer-subsystem.txt.
Here are basic commands to use the freezer subsystem:
mount -t cgroup -o freezer freezer /freezer