ADD Virtual Block Device requests information.
cover ADD Virtual Block Device requests information.
This series of patches provides the function to get counts of I/O requests. This function is useful for managing I/O resources to support workload management.
It is important to manage resources such as cpu time, physical pages and disk I/O
bandwidth for workload management.
In Xen, now, cpu and memory resources can be managed, but I/O resource can not be managed. I think that it is necessary to control allocation of I/O (disk and network) resources, such as disk bandwidth and network bandwidth in Xen.
Prior to developing the I/O resource management mechanism, it is reasonable to examine current behavior of Xen's I/O system.
To examine network I/O behavior, we can get the statistical information of network I/O behavior,
such as TX and RX packets bytes, from /proc/net/dev. The information can be also displayed by xentop.
To examine disk I/O, however, there is no function to get disk I/O behavior. Therefore, I implemented a function for counting I/O requests around VBD back driver. This function is also useful to implement the I/O resource management mechanism.
The series of patch enables you to get the statistical information of VBD behavior through /proc/xen/vbd and display the information by xentop.
I appreciate any comments.
Thanks,
Satoshi UCHIDA