You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
Copy file name to clipboardExpand all lines: config-linux.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -343,14 +343,19 @@ The following parameters can be specified to setup the controller:
343
343
344
344
***`blkioLeafWeight`***(uint16, OPTIONAL)* - equivalents of `blkioWeight` for the purpose of deciding how much weight tasks in the given cgroup has while competing with the cgroup's child cgroups.
345
345
346
-
***`blkioWeightDevice`***(array of objects, OPTIONAL)* - specifies the list of devices which will be bandwidth rate limited. The following parameters can be specified per-device:
346
+
***`blkioWeightDevice`***(array of objects, OPTIONAL)* - specifies the list of devices which will be weight division of bandwidth. The following parameters can be specified per-device:
347
347
***`major, minor`***(int64, REQUIRED)* - major, minor numbers for device. More info in [mknod(1)][mknod.1] man page.
348
-
***`weight`***(uint16, OPTIONAL)* - bandwidth rate for the device.
349
-
***`leafWeight`***(uint16, OPTIONAL)* - bandwidth rate for the device while competing with the cgroup's child cgroups, CFQ scheduler only
348
+
***`weight`***(uint16, OPTIONAL)* - weight division of bandwidth for the device.
349
+
***`leafWeight`***(uint16, OPTIONAL)* - weight division of bandwidth for the device while competing with the cgroup's child cgroups, CFQ scheduler only
350
350
351
351
You MUST specify at least one of `weight` or `leafWeight` in a given entry, and MAY specify both.
352
352
353
-
***`blkioThrottleReadBpsDevice`**, **`blkioThrottleWriteBpsDevice`**, **`blkioThrottleReadIOPSDevice`**, **`blkioThrottleWriteIOPSDevice`***(array of objects, OPTIONAL)* - specify the list of devices which will be IO rate limited.
353
+
***`blkioThrottleReadBpsDevice`**, **`blkioThrottleWriteBpsDevice`***(array of objects, OPTIONAL)* - specify the list of devices which will be bandwidth rate limited.
354
+
The following parameters can be specified per-device:
355
+
***`major, minor`***(int64, REQUIRED)* - major, minor numbers for device. More info in `man mknod`.
356
+
***`rate`***(uint64, REQUIRED)* - bandwidth rate limit in bytes per second for the device
357
+
358
+
***`blkioThrottleReadIOPSDevice`**, **`blkioThrottleWriteIOPSDevice`***(array of objects, OPTIONAL)* - specify the list of devices which will be IO rate limited.
354
359
The following parameters can be specified per-device:
355
360
***`major, minor`***(int64, REQUIRED)* - major, minor numbers for device. More info in [mknod(1)][mknod.1] man page.
356
361
***`rate`***(uint64, REQUIRED)* - IO rate limit for the device
0 commit comments