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 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Trace Disk I/O per guest domain!

To: Ata Bohra <ata.husain@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Trace Disk I/O per guest domain!
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Mon, 31 Aug 2009 15:08:01 -0400
Cc: Xen developer <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 31 Aug 2009 12:12:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <SNT112-W601993871C0544026DFCC89DF20@xxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <SNT112-W601993871C0544026DFCC89DF20@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.19 (2009-01-05)
On Tue, Sep 01, 2009 at 12:19:33AM +0530, Ata Bohra wrote:
> 
> Dear All, 
> 
>  
> 
> I am trying to trace all the disk I/O accesses made by the xen guest domains 
> to dom0 domain. I would request for critics or comments in doing the same. 
> Its easy to run "iostat -x" on all domains and dom0 to get the disk i/o 
> utilization stats, but I am just looking if there can be any other way than 
> running this utility in all domUs but using simply dom0 to get all guest 
> domain stats along with dom0 accesses (different from domUs) also. 
> 

The way we did it (VirtualIron) in the past to narrow down a specific problem 
[1] was to
instrument the blkback.c. Each time a bio was submitted we would add it to a 
list
along with the domid. And obviously in the bio_endio callback this entry would 
be
removed.

>From there on, you can add SysFS interfaces to keep track of how much I/O is 
>going
from/to each domain.

[1]: http://lists.xensource.com/archives/html/xen-devel/2008-12/msg00222.html

Oh way, you said "utility." Umm.. blktrace, but that still doesn't give you the
granularity you want.

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

<Prev in Thread] Current Thread [Next in Thread>