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-users

Re: [Xen-users] decreasing Xenmon overhead

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] decreasing Xenmon overhead
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 30 May 2007 13:10:39 +0100
Cc: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, Ashish Gupta <ashishgup@xxxxxxxxx>
Delivery-date: Wed, 30 May 2007 05:09:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B02561D69@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <907625E08839C4409CE5768403633E0B02561D69@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
> > Are there ways I can drastically reduce this overhead ? I
> > read somwhere about event overhead, using event masks and
> > python overhead,  but am not really sure how to use this
> > information to reduce the overhead.
>
> Perhaps write a C-program rather than using Python to fetch/format the
> information? That shouls improve it, but I guess you'll still see a
> noticable overhead if you sample the information every 100ms.

xentrace (for instance) just logs out data to a file, and does the formatting 
offline using a python script.  This is also a useful approach if you're 
getting data out at a high bandwidth.

Cheers,
Mark


-- 
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-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users