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

[Xen-devel] [PATCH 3/3] Output Virtual Block Device requests information for xentop


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

This patch adds VBD statistical information into xentop.
Our new xentop collects I/O requests from /proc/xen/vbd and displays them.

This is an example output of the new xentop in the case of 4 VMs.

xentop - 15:34:01   Xen 3.0-unstable
5 domains: 1 running, 4 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown
Mem: 2620476k total, 2128040k used, 492436k free    CPUs: 2 @ 2992MHz
      NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%) 
VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR SSID
  Domain-0 -----r        117    5.8    1048780   40.0   no limit       n/a     
2    8        1      429    0        0        0        0    0
  VM1        --b---         13    0.0     262144   10.0     262144      10.0    
 2    1        0        6    1        0    20373        4    0
  VN2         --b---         16    0.2     261952   10.0     262144      10.0   
  2    1        2      155    1        0     3075      875    0
  VM3        --b---         15    0.1     261920   10.0     262144      10.0    
 2    1        0      110    1        0     3079      761    0
  VM4        --b---         15    0.1     261888   10.0     262144      10.0    
 2    1        0       85    1        0     3068      813    0

 Delay  Networks  vBds  VCPUs  Repeat header  Sort order  Quit


As compared with the traditional xentop, new statistical information
(VBDS, VBD_OO, VBD_RD and VBD_WR) is added.


In detail mode, outputs of xentop is as follows.

xentop - 15:34:24   Xen 3.0-unstable
5 domains: 1 running, 4 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown
Mem: 2620476k total, 2128036k used, 492440k free    CPUs: 2 @ 2992MHz
      NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%) 
VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR SSID
  Domain-0 -----r        119    7.5    1048660   40.0   no limit       n/a     
2    8        1      459    0        0        0        0    0
  VM1 --b---         13    0.0     262144   10.0     262144      10.0     2    
1        0        6    1        0    20373        4    0
VBD  8:21  oo        0 rd    20373 wr        4
  VM2 --b---         16    0.1     261904   10.0     262144      10.0     2    
1        2      185    1        0     3075      915    0
VBD  8:22  oo        0 rd     3075 wr      915
  VM3 --b---         15    0.1     262004   10.0     262144      10.0     2    
1        0      140    1        0     3079      895    0
VBD  8:23  oo        0 rd     3079 wr      895
  VM4 --b---         15    0.1     261968   10.0     262144      10.0     2    
1        0      115    1        0     3068      814    0
VBD  8:24  oo        0 rd     3068 wr      814

  Delay  Networks  vBds  VCPUs  Repeat header  Sort order  Quit


Information about each VBD is displayed under a line of corresponding domain.

Thanks,
Satoshi UCHIDA

Attachment: add_vbd_info_to_xentop.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®.