In terms of managing
CPU usage, you can specify a TKMPI_CGROUP setting in the resource.settings
file
like the following:
# Cgroup to associate with TKGrid jobs.
export TKMPI_CGROUP="cgexec -g cpu:50"
By itself, specifying
the option does not do anything. You need to create a cgroup, in this
case, named 50 and assign
CPU shares to the group. If you are not familiar with assigning CPU
shares, you can use the SAS High-Performance Computing Management Console
for managing the cgroups.
Note: Do not use cgroups to manage
memory. If a server were to exceed a cgroup memory limit, the server
is either killed or placed in a wait state and becomes unresponsive.