Skip to content

Commit 76b50f3

Browse files
author
Ma Shimiao
committed
config-linux.md: part fix of blkio spec
blkioWeightDevice is not direct for bindwidth rate limit, actually used for weight division. bpsdeivce limits are different from IOpsdevice, they are limit rate in bytes, say used for bandwidth limit will be better. Signed-off-by: Ma Shimiao <[email protected]>
1 parent 239c4e4 commit 76b50f3

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

config-linux.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,14 +330,19 @@ The following parameters can be specified to set up the controller:
330330

331331
* **`weight`** *(uint16, OPTIONAL)* - specifies per-cgroup weight. This is default weight of the group on all devices until and unless overridden by per-device rules.
332332
* **`leafWeight`** *(uint16, OPTIONAL)* - equivalents of `weight` for the purpose of deciding how much weight tasks in the given cgroup has while competing with the cgroup's child cgroups.
333-
* **`weightDevice`** *(array of objects, OPTIONAL)* - specifies the list of devices which will be bandwidth rate limited. The following parameters can be specified per-device:
333+
* **`weightDevice`** *(array of objects, OPTIONAL)* - specifies the list of devices which will be weight division of bandwidth. The following parameters can be specified per-device:
334334
* **`major, minor`** *(int64, REQUIRED)* - major, minor numbers for device. More info in [mknod(1)][mknod.1] man page.
335-
* **`weight`** *(uint16, OPTIONAL)* - bandwidth rate for the device.
336-
* **`leafWeight`** *(uint16, OPTIONAL)* - bandwidth rate for the device while competing with the cgroup's child cgroups, CFQ scheduler only
335+
* **`weight`** *(uint16, OPTIONAL)* - weight division of bandwidth for the device.
336+
* **`leafWeight`** *(uint16, OPTIONAL)* - weight division of bandwidth for the device while competing with the cgroup's child cgroups, CFQ scheduler only
337337

338338
You MUST specify at least one of `weight` or `leafWeight` in a given entry, and MAY specify both.
339339

340-
* **`throttleReadBpsDevice`**, **`throttleWriteBpsDevice`**, **`throttleReadIOPSDevice`**, **`throttleWriteIOPSDevice`** *(array of objects, OPTIONAL)* - specify the list of devices which will be IO rate limited.
340+
* **`blkioThrottleReadBpsDevice`**, **`blkioThrottleWriteBpsDevice`** *(array of objects, OPTIONAL)* - specify the list of devices which will be bandwidth rate limited.
341+
The following parameters can be specified per-device:
342+
* **`major, minor`** *(int64, REQUIRED)* - major, minor numbers for device. More info in [mknod(1)][mknod.1] man page.
343+
* **`rate`** *(uint64, REQUIRED)* - bandwidth rate limit in bytes per second for the device
344+
345+
* **`blkioThrottleReadIOPSDevice`**, **`blkioThrottleWriteIOPSDevice`** *(array of objects, OPTIONAL)* - specify the list of devices which will be IO rate limited.
341346
The following parameters can be specified per-device:
342347
* **`major, minor`** *(int64, REQUIRED)* - major, minor numbers for device. More info in [mknod(1)][mknod.1] man page.
343348
* **`rate`** *(uint64, REQUIRED)* - IO rate limit for the device

0 commit comments

Comments
 (0)