Red Hat ENTERPRISE LINUX 5.4 - SYSTEMTAP BEGINNERS GUIDE Información técnica Pagina 138

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 240
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 137
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
Vista de pagina 137
1 2 ... 133 134 135 136 137 138 139 140 141 142 143 ... 239 240

Comentarios a estos manuales

Sin comentarios