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] Monitoring I/O rate for each VMs

To: Thomas Goirand <thomas@xxxxxxxxxx>
Subject: Re: [Xen-devel] Monitoring I/O rate for each VMs
From: Muli Ben-Yehuda <muli@xxxxxxxxxx>
Date: Tue, 28 Nov 2006 11:25:02 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 28 Nov 2006 01:25:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <456BED92.1020807@xxxxxxxxxx>
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>
References: <C1906338.5198%keir@xxxxxxxxxxxxx> <456BED92.1020807@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Tue, Nov 28, 2006 at 04:04:34PM +0800, Thomas Goirand wrote:
> Keir Fraser wrote:
> > On 27/11/06 09:25, "Thomas Goirand" <thomas@xxxxxxxxxx> wrote:
> > 
> >>> Unfortunately these count requests rather than bytes served. This may be
> >>> what you want though, as #requests should be proportional to the number of
> >>> expensive disc operations (seeking and settling). Long contiguous requests
> >>> are not proportionally more expensive than short ones.
> >> Hi!
> >>
> >> I didn't find such file where you said. Even a "locate statistics"
> >> didn't help. Note that I'm using lvm partitions, and xen 3.0.2-2 (and
> >> 2.0.7 in some older servers), and my LVs are of form /dev/lvm1/xen01, is
> >> <path-to-vdb> for loopback?
> > 
> > I think the stats were added during 3.0.3 development. There's no way to get
> > the information you seek with older versions of Xen, although you could try
> > taking the blkback driver from a 3.0.3 tree and build it against your Linux
> > dom0 kernel.
> 
> cat /sys/block/dm-21/stat
> 8        0       96       95       63        0     4432     1608
> 0      579     1703
> 
> What are the meaning of those numbers ???

The best way to know is to check the source code that generates
them...

Cheers,
Muli

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