Skip to content

Commit 465f391

Browse files
kolyshkinZheaoli
authored andcommitted
config-linux: describe the format of cpus and mems
Also, s/in/on/g. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 9662a4c commit 465f391

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config-linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ The following parameters can be specified to set up the controller:
395395
* **`period`** *(uint64, OPTIONAL)* - specifies a period of time in microseconds for how regularly a cgroup's access to CPU resources should be reallocated (CFS scheduler only)
396396
* **`realtimeRuntime`** *(int64, OPTIONAL)* - specifies a period of time in microseconds for the longest continuous period in which the tasks in a cgroup have access to CPU resources
397397
* **`realtimePeriod`** *(uint64, OPTIONAL)* - same as **`period`** but applies to realtime scheduler only
398-
* **`cpus`** *(string, OPTIONAL)* - list of CPUs the container will run in
399-
* **`mems`** *(string, OPTIONAL)* - list of Memory Nodes the container will run in
398+
* **`cpus`** *(string, OPTIONAL)* - list of CPUs the container will run on. This is a comma-separated list, with dashes to represent ranges. For example, `0-3,7` represents CPUs 0,1,2,3, and 7.
399+
* **`mems`** *(string, OPTIONAL)* - list of memory nodes the container will run on. This is a comma-separated list, with dashes to represent ranges. For example, `0-3,7` represents memory nodes 0,1,2,3, and 7.
400400
* **`idle`** *(int64, OPTIONAL)* - cgroups are configured with minimum weight, 0: default behavior, 1: SCHED_IDLE.
401401

402402
#### Example

0 commit comments

Comments
 (0)