Makes an rset containing the specified CPUs and memory regions and places it in the system registry.
The mkrset command creates and places into the system registry an rset or exclusive rset (xrset) with the specified set of CPUs and/or memory regions. The rset name must not exist in the registry. The owner and group IDs of the rset will be set to the owner and group IDs of the command issuer. The rset will have read/write owner permissions and read permission for group and other. When used to create an xrset, the mkrset command changes the state of the corresponding CPUs on the system to exclusive mode. Creating an xrset requires root privilege.
Item | Description |
---|---|
-c | List of CPUs to be in the rset. This can be one or more CPUs or CPU ranges. |
-m | List of memory regions to be in the rset. This can be one or more memory regions or ranges. |
Item | Description |
---|---|
rsetname | The name of the rset to be placed in the system registry. The name consists of a namespace and an rsname separated by a "/" (slash). Both the namespace and rsname may contain up to 255 characters. See the rs_registername() service for additional information about character set limits of rset names. |
The user must have root authority or CAP_NUMA_ATTACH and CAP_PROPAGATE capability.
mkrset -c 0-7 test/cpus0to7
mkrset -c 1 3 5-7 10 test/lotsofcpus
Item | Description |
---|---|
/usr/bin/mkrset | Contains the mkrset command. |