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


Re: [Xen-devel] Performance Counter Virtualization in Xen

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Performance Counter Virtualization in Xen
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 30 May 2007 11:49:53 +0100
Cc: "Bhatia, Nikhil" <bhatia@xxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 30 May 2007 03:48:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <537C6C0940C6C143AA46A88946B8541708160B01@xxxxxxxxxxxxxxxxxxxxx>
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: <537C6C0940C6C143AA46A88946B8541708160B01@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
> Hello Xenthusiasts,

> -          Is there a Xen tool/utility which provides meaningful
> information about per-domain metrics for dynamic memory usage (e.g.
> reserved memory by Xen, total heap size in use, swap space reserved per
> domain etc.), I/O done to/from the disc and the bytes sent/received from
> the network over fixed intervals of time?

Network IO you should be able to monitor by looking at the stats associated 
with the vif to the domain in dom0 (at least for paravirt vifs).  Block IO, 
I'm not so sure of the mechanism.

Regarding swap space - all the swapping is done by the domain itself onto a 
virtual block device you've provided it.  If you give it a separate virtual 
block device and configure it to use that for swap then monitoring that VBD 
would give you an idea of swap activity - but not current swap use.  If you 
want to know domain-internal stats, such as swap use, the easiest approach is 
to get the domain to stick some entries in XenStore to tell you.

The nearest to the tool you want would be "xm top" or "xenmon", however I 
think these still don't monitor all the things you're interested in.


Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

Xen-devel mailing list

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