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

Re: [Xen-devel] Is it possible that xenoprof active domain profiling us

To: "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
Subject: Re: [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel
From: 박은병 <peb1611@xxxxxxxxx>
Date: Sat, 23 Jan 2010 17:33:03 +0900
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 23 Jan 2010 00:33:27 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=IpWp8FS+ha23uURSxQoJyD857i+tWMn954Q45ZSQYJ4=; b=gABLjVLKrEJlH8ZCu15c6YvQJbI2RugXoHZJmxGjt7e6FBK2YZHLGBsJYuBzOR0OUP zqoqxfUdKX42bhrIa9stSmg0YKROKpbQR3SKBHud50OuQYkmrrnzlC8o4CiLI2Dw/MU1 4tAPSA2Hhz+ldX1430KFFJkLYYasOBanSaqOU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Gq0vwAmHqz90keTooH0PdKJUmR6o4viinV28ebc1x2NRG1ySfboFXdwDJ0/+wR6+wA PsMJKg2Ho5gAbUL2e7nfWOKTfPqSLwJAibKbl7esklo8fblSjTosF//EgYTzWs4gfpDf XI51tm2I9qrylu6IcFzwd+V4w5Sb5kJDh2fq0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EF547E542C520A4D858CFEF5B404D05360848FF419@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <ebf0d9031001212200y37068413if01f129043e7a35f@xxxxxxxxxxxxxx> <EF547E542C520A4D858CFEF5B404D05360848FF419@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I tried to use same pvops kernel(jeremy's) for both dom0 and domU, and dullor's patch.
 
But, it does not work well.
 
dom0# opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=1
Using 2.6+ OProfile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/samples/oprofiled.log
Daemon started.
 
dom0 seems to be good. I think,,
 
and domU command
 
domU# opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-domU-xenoprof
/usr/local/bin/opcontrol: line 367: timer: command not found
You cannot specify any performance counter events
because OProfile is in timer mode.
 
And. Some tricky output..
 
dom0#>cat /dev/oprofile/cpu_type
i386/core
 
domU#>cat /dev/oprofile/cpu_type
timer
 
I would appreciate your response....:)
 


 
2010년 1월 23일 오전 3:32, Santos, Jose Renato G <joserenato.santos@xxxxxx>님의 말:
To run xenoprof in active mode you need xenoprof support both in dom0 and in domU. Try using the the pvops kernel with Dullor's xenoprof patch in domU too. This should solve your problem...
 
Renato


From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of ???
Sent: Thursday, January 21, 2010 10:00 PM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Is it possible that xenoprof active domain profiling using pvops jeremy's kernel

my system configuration
 
xen 3.4.2, oprofile 0.9.5( xenoprof patched ), dom0( jeremy's pvops kernel 2.6.31.6 - patched dullor's xenoprof patch ), domU( vanilla kernel 2.6.32 with paravirt enabled ), distribution( ubuntu 9.10 )
 
In passive mode, xenoprof seems to work well, opreport showed good information.
but, in active mode, it seems not to be done correctly.
 
my command is strictly followed by xenoprof tutorial doc.
 
<dom0>
opcontrol --start-daemon --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.31.6-xen-xenoprof --active-domains=7
 
<domU>
opcontrol --start --event=L2_RQSTS:100000 --xen=/boot/xen-syms-3.4.2 --vmlinux=/boot/vmlinux-2.6.32-domU
In domU, opcontrol was break showing "cannot find timer command??"
 
I think that domU kernel also should be patched. Is it right?? dullor's patch available on vanilla kernel?? I had tried to patch the dullor's patch to vanilla kernel 2.6.31.6 with 2 conflict message.(mmu.c, xen-ops.h)
 
is there anyone who succeed in running xenoprof in active mode using jeremy's pvops 2.6.31.6 dom0 ??
 
 

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