Changes

Jump to: navigation, search

IO accounting

271 bytes added, 19:46, 8 July 2015
See also: added I/O limits
This page describes how accounting is done for I/O activity of VE CT processes, on a VFS I/O level. This The feature is available beginning with OpenVZ kernels version <code>028test008</code>. If you are interested in [[I/O priorities for containers]], it is described in a separate article. If you are looking for IO scheduler (i.e. lower level) statistics, see [[IO statistics]] instead.
== New resources ==
== Proc interface ==
 
=== General information ===
As was described in [[BC proc entries|another article]] each beancounter has its own <code>/proc/bc/$BCID</code> directory where subsystems add their entries. I/O accounting adds an <code>ioacct</code> entry to show I/O information. This entry contains the following information:
=== Debugging information ===
When <code>CONFIG_UBC_DEBUG_IO</code>, is on <code>/proc/bc/ioacct_debug</code> is added. This entry contains a snapshot of current dirty pages with its beancounter in system. For example:
<pre>
# cat /proc/bc/ioacct_debug
io_pbs 0
</pre>
 
== See also ==
* [[IO statistics]]
* [[I/O priorities]]
* [[I/O limits]]
[[Category:Resource management]]

Navigation menu