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

Re: [Libvir] [PATCH] Block device and network stats (version 2)

Daniel P. Berrange wrote:
[about requests vs sectors]
Yes, we need both. If we can't find actual request sizes for Xen, we should make a note and see if its possible add this to future Xen kernel backend

I notice that in the version of Xen in Fedora 7, we now have the following statistics files, although for partition-backed paravirt domains only:

# ls /sys/devices/xen-backend/vbd-6-51712/statistics/
br_req  oo_req  rd_req  rd_sect  wr_req  wr_sect

rd_sect / wr_sect contain sectors, so if we can assume 512 bytes/sector then we could fill in the bytes fields.

The Xen block device stats collection code needs some work anyway in order to support hdX devices and fullvirt domains (where the statistics files are called tap_XX_req etc.)


Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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