From: Muli Ben-Yehuda Subject: Re: Monitoring I/O rate for each VMs Date: Tue, 28 Nov 2006 11:25:02 +0200 Message-ID: <20061128092502.GB2924@rhun.haifa.ibm.com> References: <456BED92.1020807@goirand.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <456BED92.1020807@goirand.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Thomas Goirand Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Nov 28, 2006 at 04:04:34PM +0800, Thomas Goirand wrote: > 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 ??? The best way to know is to check the source code that generates them... Cheers, Muli