Cgroups

Z MetaCentrum
Přejít na: navigace, hledání

(Česká verze)

Cgroups (shortcut of Control Groups) is a feature of Linux which allows to control usage of resources (memory, I/O operations, networking etc.) for certain group of processes. See Wikipedia for more information.

Cgroups is offered by MetaCentrum since October 2015 in order to offer special settings of user jobs - you can set an impassable resources limits of your job.

ZarovkaMala.png Note: Read more about qsub options here.

Warning.gif WARNING: Cgropus can be applied only on machines in queue uv@wagap-pro.cerit-sc.cz and on machine upol128.

Warning.gif WARNING: Using of Cgroups function is recommended as the last way, how to reduce CPU usage. Generally, we are able to set CPU usage limits on a level of code for every job in MetaCentrum. If you have some troubles with your jobs/codes/software, send us an email meta@cesnet.cz

By Cgroups you can limit several resources:

  • cpuacct - limiting CPU
  • cpuset - assign specific CPU #This is a key parameter for PBS
  • memory - limiting memory
  • memsw - limiting virtual memory
 qsub -l select=1:ncpus=1:cgroups=cpuset ...

You won't definitely affect other users with Cgroups in your job, because you cannot exceed given resources.