[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 1/3] Output Virtual Block Device requests information to /proc/xen/vbd


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Satoshi Uchida" <s-uchida@xxxxxxxxxxxxx>
  • Date: Wed, 21 Jun 2006 18:51:22 +0900
  • Delivery-date: Wed, 21 Jun 2006 02:52:01 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcaTeGbVxWvfnkb2Q9K5/ldl3US/oQAuxt0wADa3kkA=

 
This patch add /xen/proc/vbd.
This proc file stores counts of I/O requests for VBD.
I/O requests is counted for each Domains.

For example, in case of four VMs, outputs of reading /xen/proc/vbd are as 
follows.

root@dom0 ~]# more /proc/xen/vbd
Domain 4 - oo        0  rd    18699  wr        2
 xvd 4  8:21 - oo        0  rd    18699  wr        2
Domain 7 - oo        0  rd      869  wr      376
 xvd 7  8:22 - oo        0  rd      869  wr      376
Domain 8 - oo        0  rd      721  wr      197
 xvd 8  8:23 - oo        0  rd      721  wr      197
Domain 9 - oo        0  rd      640  wr       77
 xvd 9  8:24 - oo        0  rd      640  wr       77

The outputs show the following information.

The first line shows domain information.
     Detail: Domain [Domain ID] - oo [oo-reqs] rd  [rd-reqs] wr [wr-reqs].
The second or less than third line shows each VBD information.
        xvd [Domain ID] [device majar]:[device minor]  - oo [oo-reqs] rd  
[rd-reqs] wr [wr-reqs].

VBD information handles "xvd [Domain ID] [device majar]:[device minor]" for 
reason
 that the thread is running same name.

Currently, Domain show domain ID.
Someday, it want to correspond with domain name.


Thanks,
Satoshi UCHIDA

Attachment: proc_xen_vbd.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.