diff options
author | Divyesh Shah <dpshah@google.com> | 2010-04-09 00:15:10 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-04-09 02:36:08 -0400 |
commit | cdc1184cf4a7bd99f5473a91244197accc49146b (patch) | |
tree | ecd572867bfa5a82fa4ed16d7303448c7ea7d24c /Documentation/cgroups | |
parent | 812d402648f4fc1ab1091b2172a46fc1b367c724 (diff) |
blkio: Add io_queued and avg_queue_size stats
These stats are useful for getting a feel for the queue depth of the cgroup,
i.e., how filled up its queues are at a given instant and over the existence of
the cgroup. This ability is useful when debugging problems in the wild as it
helps understand the application's IO pattern w/o having to read through the
userspace code (coz its tedious or just not available) or w/o the ability
to run blktrace (since you may not have root access and/or not want to disturb
performance).
Signed-off-by: Divyesh Shah<dpshah@google.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'Documentation/cgroups')
-rw-r--r-- | Documentation/cgroups/blkio-controller.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/cgroups/blkio-controller.txt b/Documentation/cgroups/blkio-controller.txt index 810e30171a54..6e52e7c512a4 100644 --- a/Documentation/cgroups/blkio-controller.txt +++ b/Documentation/cgroups/blkio-controller.txt | |||
@@ -139,6 +139,17 @@ Details of cgroup files | |||
139 | cgroup. This is further divided by the type of operation - read or | 139 | cgroup. This is further divided by the type of operation - read or |
140 | write, sync or async. | 140 | write, sync or async. |
141 | 141 | ||
142 | - blkio.io_queued | ||
143 | - Total number of requests queued up at any given instant for this | ||
144 | cgroup. This is further divided by the type of operation - read or | ||
145 | write, sync or async. | ||
146 | |||
147 | - blkio.avg_queue_size | ||
148 | - Debugging aid only enabled if CONFIG_DEBUG_CFQ_IOSCHED=y. | ||
149 | The average queue size for this cgroup over the entire time of this | ||
150 | cgroup's existence. Queue size samples are taken each time one of the | ||
151 | queues of this cgroup gets a timeslice. | ||
152 | |||
142 | - blkio.dequeue | 153 | - blkio.dequeue |
143 | - Debugging aid only enabled if CONFIG_DEBUG_CFQ_IOSCHED=y. This | 154 | - Debugging aid only enabled if CONFIG_DEBUG_CFQ_IOSCHED=y. This |
144 | gives the statistics about how many a times a group was dequeued | 155 | gives the statistics about how many a times a group was dequeued |