From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Goirand Subject: Re: Monitoring I/O rate for each VMs Date: Tue, 28 Nov 2006 16:04:34 +0800 Message-ID: <456BED92.1020807@goirand.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > On 27/11/06 09:25, "Thomas Goirand" 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 >> 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 ??? Thomas