diff options
Diffstat (limited to 'Documentation/cgroups/blkio-controller.txt')
-rw-r--r-- | Documentation/cgroups/blkio-controller.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Documentation/cgroups/blkio-controller.txt b/Documentation/cgroups/blkio-controller.txt index 84f0a15fc210..b4b1fb3a83f0 100644 --- a/Documentation/cgroups/blkio-controller.txt +++ b/Documentation/cgroups/blkio-controller.txt | |||
@@ -94,11 +94,11 @@ Throttling/Upper Limit policy | |||
94 | 94 | ||
95 | Hierarchical Cgroups | 95 | Hierarchical Cgroups |
96 | ==================== | 96 | ==================== |
97 | - Currently none of the IO control policy supports hierarhical groups. But | 97 | - Currently none of the IO control policy supports hierarchical groups. But |
98 | cgroup interface does allow creation of hierarhical cgroups and internally | 98 | cgroup interface does allow creation of hierarchical cgroups and internally |
99 | IO policies treat them as flat hierarchy. | 99 | IO policies treat them as flat hierarchy. |
100 | 100 | ||
101 | So this patch will allow creation of cgroup hierarhcy but at the backend | 101 | So this patch will allow creation of cgroup hierarchcy but at the backend |
102 | everything will be treated as flat. So if somebody created a hierarchy like | 102 | everything will be treated as flat. So if somebody created a hierarchy like |
103 | as follows. | 103 | as follows. |
104 | 104 | ||
@@ -266,7 +266,7 @@ Proportional weight policy files | |||
266 | - blkio.idle_time | 266 | - blkio.idle_time |
267 | - Debugging aid only enabled if CONFIG_DEBUG_BLK_CGROUP=y. | 267 | - Debugging aid only enabled if CONFIG_DEBUG_BLK_CGROUP=y. |
268 | This is the amount of time spent by the IO scheduler idling for a | 268 | This is the amount of time spent by the IO scheduler idling for a |
269 | given cgroup in anticipation of a better request than the exising ones | 269 | given cgroup in anticipation of a better request than the existing ones |
270 | from other queues/cgroups. This is in nanoseconds. If this is read | 270 | from other queues/cgroups. This is in nanoseconds. If this is read |
271 | when the cgroup is in an idling state, the stat will only report the | 271 | when the cgroup is in an idling state, the stat will only report the |
272 | idle_time accumulated till the last idle period and will not include | 272 | idle_time accumulated till the last idle period and will not include |
@@ -283,34 +283,34 @@ Throttling/Upper limit policy files | |||
283 | ----------------------------------- | 283 | ----------------------------------- |
284 | - blkio.throttle.read_bps_device | 284 | - blkio.throttle.read_bps_device |
285 | - Specifies upper limit on READ rate from the device. IO rate is | 285 | - Specifies upper limit on READ rate from the device. IO rate is |
286 | specified in bytes per second. Rules are per deivce. Following is | 286 | specified in bytes per second. Rules are per device. Following is |
287 | the format. | 287 | the format. |
288 | 288 | ||
289 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.read_bps_device | 289 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.read_bps_device |
290 | 290 | ||
291 | - blkio.throttle.write_bps_device | 291 | - blkio.throttle.write_bps_device |
292 | - Specifies upper limit on WRITE rate to the device. IO rate is | 292 | - Specifies upper limit on WRITE rate to the device. IO rate is |
293 | specified in bytes per second. Rules are per deivce. Following is | 293 | specified in bytes per second. Rules are per device. Following is |
294 | the format. | 294 | the format. |
295 | 295 | ||
296 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.write_bps_device | 296 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.write_bps_device |
297 | 297 | ||
298 | - blkio.throttle.read_iops_device | 298 | - blkio.throttle.read_iops_device |
299 | - Specifies upper limit on READ rate from the device. IO rate is | 299 | - Specifies upper limit on READ rate from the device. IO rate is |
300 | specified in IO per second. Rules are per deivce. Following is | 300 | specified in IO per second. Rules are per device. Following is |
301 | the format. | 301 | the format. |
302 | 302 | ||
303 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.read_iops_device | 303 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.read_iops_device |
304 | 304 | ||
305 | - blkio.throttle.write_iops_device | 305 | - blkio.throttle.write_iops_device |
306 | - Specifies upper limit on WRITE rate to the device. IO rate is | 306 | - Specifies upper limit on WRITE rate to the device. IO rate is |
307 | specified in io per second. Rules are per deivce. Following is | 307 | specified in io per second. Rules are per device. Following is |
308 | the format. | 308 | the format. |
309 | 309 | ||
310 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.write_iops_device | 310 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.write_iops_device |
311 | 311 | ||
312 | Note: If both BW and IOPS rules are specified for a device, then IO is | 312 | Note: If both BW and IOPS rules are specified for a device, then IO is |
313 | subjectd to both the constraints. | 313 | subjected to both the constraints. |
314 | 314 | ||
315 | - blkio.throttle.io_serviced | 315 | - blkio.throttle.io_serviced |
316 | - Number of IOs (bio) completed to/from the disk by the group (as | 316 | - Number of IOs (bio) completed to/from the disk by the group (as |