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

[Xen-users] Re: XenMon question

To: Tim Freeman <tfreeman@xxxxxxxxxxx>
Subject: [Xen-users] Re: XenMon question
From: Rob Gardner <rob.gardner@xxxxxx>
Date: Wed, 04 Jan 2006 10:57:09 -0700
Cc: dgupta@xxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx, cherkasova@xxxxxxxxxx
Delivery-date: Wed, 04 Jan 2006 18:02:46 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060104114833.202723a4.tfreeman@xxxxxxxxxxx>
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: <20060104114833.202723a4.tfreeman@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
Tim Freeman wrote:

I wonder if any extra setup is needed to run XenMon for 3.0.0.  It looks like
the patch was applied into the hypervisor a while back and that the python
program xenmon.py starts xenbaked for you. But when I run XenMon, it prints:
# python xenmon.py
xenbaked: no process killed
ms_per_sample = 100
Initialized with 2 cpu's
CPU Frequency = 1800.10
ERROR: Failure to get trace buffer pointer from Xen (22 = Invalid argument)


Tim,

There is an additional step needed to make xenmon work. I apologize for not documenting this. Xen starts out running with trace buffers disabled, and so the trace buffer size needs to be set and enabled before xenmon will run.

In the tools/xentrace directory you will find two programs, setsize and tbctl. Try the following: setsize 10 tbctl 1 This will set the trace buffer size to 10 pages, which is a decent default value, and the tbctl command will turn on tracing in the hypervisor.

I will make an addendum to the xenmon readme file with this information.

Rob Gardner



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

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