misercpuset(4) misercpuset(4)
NAME
misercpuset - cpuset configuration files
DESCRIPTION
A cpuset is defined by a cpuset configuration file and a name. The
cpuset configuration file is used to list the CPUs that are members of
the cpuset and contains any additional parameters needed to define the
cpuset. The file permissions of the configuration file define access to
the cpuset. Everytime permissions need to be checked, the current
permissions of the file are used. It is therefore possible to change
access to a particular cpuset, without having to tear it down and
recreate it, simply by changing the access permissions. Read access
allows a user to retrieve information about a cpuset while execute
permission allows the user to attach a process to the cpuset.
The name of the cpuset is a three to eight character string. Queue names
having one or two characters are reserved for use by IRIX.
EXAMPLE
The following configuration file describes an exclusive cpuset containing
3 CPUs:
#cpuset configuration file
EXCLUSIVE
CPU 1
CPU 5
CPU 10
This specification will create a cpuset containing 3 CPUs, and will
restrict those cpus to running threads that have been explicitly assigned
to the cpuset.
SUMMARY
Commands are newline terminated, characters following the comment
delimiter '#' are ignored, case matters, and tokens are separated by
whitespace which is ignored.
The valid tokens are:
EXCLUSIVE
Defines a cpuset to be restricted. It can occur anywhere in the
file. Anything else on the line is ignored.
CPU cpuid
Specifies a CPU that will be part of the cpuset.
SEE ALSO
miser_cpuset(1).
Page 1