diff options
author | Divyesh Shah <dpshah@google.com> | 2010-04-09 00:14:23 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-04-09 02:36:07 -0400 |
commit | 812d402648f4fc1ab1091b2172a46fc1b367c724 (patch) | |
tree | 9dc52d5bfdbc170559169a0157ed3295d551e9cf /Documentation/cgroups/blkio-controller.txt | |
parent | 84c124da9ff50bd71fab9c939ee5b7cd8bef2bd9 (diff) |
blkio: Add io_merged stat
This includes both the number of bios merged into requests belonging to this
cgroup as well as the number of requests merged together.
In the past, we've observed different merging behavior across upstream kernels,
some by design some actual bugs. This stat helps a lot in debugging such
problems when applications report decreased throughput with a new kernel
version.
This needed adding an extra elevator function to capture bios being merged as I
did not want to pollute elevator code with blkiocg knowledge and hence needed
the accounting invocation to come from CFQ.
Signed-off-by: Divyesh Shah<dpshah@google.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'Documentation/cgroups/blkio-controller.txt')
-rw-r--r-- | Documentation/cgroups/blkio-controller.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/cgroups/blkio-controller.txt b/Documentation/cgroups/blkio-controller.txt index ed04fe9cce1a..810e30171a54 100644 --- a/Documentation/cgroups/blkio-controller.txt +++ b/Documentation/cgroups/blkio-controller.txt | |||
@@ -134,6 +134,11 @@ Details of cgroup files | |||
134 | minor number of the device, third field specifies the operation type | 134 | minor number of the device, third field specifies the operation type |
135 | and the fourth field specifies the io_wait_time in ns. | 135 | and the fourth field specifies the io_wait_time in ns. |
136 | 136 | ||
137 | - blkio.io_merged | ||
138 | - Total number of bios/requests merged into requests belonging to this | ||
139 | cgroup. This is further divided by the type of operation - read or | ||
140 | write, sync or async. | ||
141 | |||
137 | - blkio.dequeue | 142 | - blkio.dequeue |
138 | - Debugging aid only enabled if CONFIG_DEBUG_CFQ_IOSCHED=y. This | 143 | - Debugging aid only enabled if CONFIG_DEBUG_CFQ_IOSCHED=y. This |
139 | gives the statistics about how many a times a group was dequeued | 144 | gives the statistics about how many a times a group was dequeued |