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

[Xen-devel] Working around xenstored performance?

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Working around xenstored performance?
From: Pim van Riezen <pi+lists@xxxxxxxxxxxx>
Date: Thu, 31 Jul 2008 10:41:15 +0200
Delivery-date: Thu, 31 Jul 2008 01:41:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Good Day,

For monitoring purposes, we have a process that sends a 'xend.domains' methodCall to xend at timed intervals. Our problem here is that this call, if the extra parameter is not '0', is pretty slow; xenstored will run with 40% cpu grinding over its database before coming up with a reply, hardly something you want to do like every 15 seconds. With the parameter on 0, the response is instantaneous, but lacks any information beyond the list of currently running guests.

Is there a less intrusive way to just get the cpu-counter for a specific guest through /proc/xen or some such? I'd also be perfectly happy to fish the information out of xenstored's tdb-file, but all of its records seem to be in an undocumented binary encoding so that's not really helping either.

Our set-up is the Fedora branch of 3.0 (but from what I can read, 3.1 still has this problem).

Cheers,
Pim van Riezen


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

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