WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] FW: [PATCH 1/1] Output Virtual Block Device requests informa

To: "'Keir Fraser'" <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] FW: [PATCH 1/1] Output Virtual Block Device requests information ver. 3
From: "Satoshi Uchida" <s-uchida@xxxxxxxxxxxxx>
Date: 2006年6月28日 16:21:12 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2006年6月28日 00:21:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcaagZipiXxy3BAMTbKZSKYG21okpwAACTtAAABlQjA=
 
>
> Hi.
>
> These patches provide the function to output the information to sysfs.
> I changed the location to outputs statistical information of virtual 
> block device (VBD) from the /proc file system to the sysfs.
> The location is 'statstics' directory under each VBD directory, for 
> example, /sys/devices/xen-backend/vbd-x-xxxx/statistics.
>
> The 'statistics' directory includes the following three statistical 
> informations.
> oo_req
> is the number of Out of(?) requests.
> rd_req
> is the number of pended READ requests.
> wr_req
> is the number of pended WRITE requests.
>
> Examples are as follows.
> By applying this patch, sysfs creates "statistics" directory under the 
> "vbd-*" directory.
> The "statistics" directory includes three statistical information 
> files of VBD; oo_req, rd_req, wr_req.
>
> [root@Domain-0 ~]# ls /sys/devices/xen-backend/vbd-1-2049/
> bus driver nodename power uevent
> devtype mode physical_device statistics
> [root@Domain-0 ~]# ls
> /sys/devices/xen-backend/vbd-1-2049/statistics/
> oo_req rd_req wr_req
> [root@Domain-0 ~]# cat
> /sys/devices/xen-backend/vbd-1-2049/statistics/oo_req
> 0
> [root@Domain-0 ~]# cat
> /sys/devices/xen-backend/vbd-1-2049/statistics/rd_req
> 1592
> [root@Domain-0 ~]# cat
> /sys/devices/xen-backend/vbd-1-2049/statistics/wr_req
> 565
> [root@Domain-0 ~]#
>
>
>
> Changing from ver. 2 is a following.
> - Code is clearly by moving xenbus.c
> - Do not change the type of each information.
> (It may be more desirable to change into unsigned into or 
> unsigned long)
> (But it is not essence for this mechanism)
> - Macro changes not using fmt representation (use like printf)
>
>
> Thanks,
> Satoshi UCHIDA
Sorry, I missed to send patch.
I sent few old version patch.
I resent the correct patch after a few time.
Satoshi UCHIDA
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] FW: [PATCH 1/1] Output Virtual Block Device requests information ver. 3, Satoshi Uchida <=
Previous by Date: [Xen-devel] [PATCH][HVM] Removing 1:1 mapping from qemu-dm , Nakajima, Jun
Next by Date: [Xen-devel] [PATCH][Resend] Output Virtual Block Device requests information ver. 3 , Satoshi Uchida
Previous by Thread: [Xen-devel] [PATCH][HVM] Removing 1:1 mapping from qemu-dm , Nakajima, Jun
Next by Thread: [Xen-devel] [PATCH][Resend] Output Virtual Block Device requests information ver. 3 , Satoshi Uchida
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /