From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ahmad Hassan Subject: Re: Is it possible that xenoprof active domain profiling using pvops jeremy's kernel Date: Thu, 11 Feb 2010 22:13:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2075653178==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?UTF-8?B?67CV7J2A67OR?= Cc: "xen-devel@lists.xensource.com" , "Santos, Jose Renato G" List-Id: xen-devel@lists.xenproject.org --===============2075653178== Content-Type: multipart/alternative; boundary=001636458deeab171a047f5a787d --001636458deeab171a047f5a787d Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: quoted-printable Hi Jose, Did you manage to resolve the following xenoprof error: domU# opcontrol --start --event=3DL2_RQSTS:100000 --xen=3D/boot/xen-syms-3.= 4.2 --vmlinux=3D/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. I am facing the same problem. I am using xen-3.4.1 on dom0. Do I need to install xen on domU as well? My hardware is AMD-64. Thanks for the help. Best Regards, Hassan http://cern.ch/ahmadh/portfolio Erasmus Student The University of Reading, UK Aristotle University of Thessaloniki, Greece The University Of Carlos III, Madrid Spain 2010/1/29 =B9=DA=C0=BA=BA=B4 > I already have strictly adhered to xenoprof_tutorial. > > I also tried to apply xen-4.0.0-rc3-pre unstable version. but it is also > does not work with same error message. > > I want to know your active domain profiling environment, including xen > version, dom0, domU and linux distribution. > > > 2010=B3=E2 1=BF=F9 28=C0=CF =BF=C0=C8=C4 3:50, Santos, Jose Renato G =B4=D4=C0=C7 > =B8=BB: > > This is the only recent fix I am aware of >> Active mode profiling requires carefull synchronization between dom0 an= d >> the guest domain >> Make sure you follow the instructions described in: >> http://www.xen.org/files/summit_3/xenoprof_tutorial.pdf >> >> Renato >> >> ------------------------------ >> *From:* =B9=DA=C0=BA=BA=B4 [mailto:peb1611@gmail.com] >> *Sent:* Wednesday, January 27, 2010 7:39 PM >> >> *To:* Santos, Jose Renato G >> *Cc:* xen-devel@lists.xensource.com >> *Subject:* Re: [Xen-devel] Is it possible that xenoprof active domain >> profiling using pvops jeremy's kernel >> >> Thanks. I am sorry for late response. >> >> the patch you have mentioned is already applied. >> >> Hum....But, I have not tried to Xen 4.0 or unstable. >> >> Is there any other difference between the patch and 4.0 or unstable abou= t >> xenoprof.c ?? >> >> 2010=B3=E2 1=BF=F9 24=C0=CF =BF=C0=C0=FC 10:01, Santos, Jose Renato G =B4=D4=C0=C7 >> =B8=BB: >> >>> This seems to be related to a recently fixed bug. >>> Try using Xen 4.0 or latest unstable or apply the patch posted in: >>> http://lists.xensource.com/archives/html/xen-devel/2009-12/msg00709.htm= l >>> >>> Renato >>> >>> ------------------------------ >>> *From:* =B9=DA=C0=BA=BA=B4 [mailto:peb1611@gmail.com] >>> *Sent:* Saturday, January 23, 2010 12:33 AM >>> *To:* Santos, Jose Renato G >>> *Cc:* xen-devel@lists.xensource.com >>> *Subject:* Re: [Xen-devel] Is it possible that xenoprof active domain >>> profiling using pvops jeremy's kernel >>> >>> I tried to use same pvops kernel(jeremy's) for both dom0 and domU, an= d >>> dullor's patch. >>> >>> But, it does not work well. >>> >>> dom0# opcontrol --start-daemon --event=3DL2_RQSTS:100000 >>> --xen=3D/boot/xen-syms-3.4.2 --vmlinux=3D/boot/vmlinux-2.6.31.6-xen-xen= oprof >>> --active-domains=3D1 >>> 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=3DL2_RQSTS:100000 >>> --xen=3D/boot/xen-syms-3.4.2 --vmlinux=3D/boot/vmlinux-2.6.31.6-domU-xe= noprof >>> /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=B3=E2 1=BF=F9 23=C0=CF =BF=C0=C0=FC 3:32, Santos, Jose Renato G =B4=D4=C0=C7 >>> =B8=BB: >>> >>>> 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 pat= ch in >>>> domU too. This should solve your problem... >>>> >>>> Renato >>>> >>>> ------------------------------ >>>> *From:* xen-devel-bounces@lists.xensource.com [mailto: >>>> xen-devel-bounces@lists.xensource.com] *On Behalf Of *??? >>>> *Sent:* Thursday, January 21, 2010 10:00 PM >>>> *To:* xen-devel@lists.xensource.com >>>> *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 ker= nel >>>> 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. >>>> >>>> >>>> opcontrol --start-daemon --event=3DL2_RQSTS:100000 >>>> --xen=3D/boot/xen-syms-3.4.2 --vmlinux=3D/boot/vmlinux-2.6.31.6-xen-xe= noprof >>>> --active-domains=3D7 >>>> >>>> >>>> opcontrol --start --event=3DL2_RQSTS:100000 --xen=3D/boot/xen-syms-3.4= .2 >>>> --vmlinux=3D/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@lists.xensource.com > http://lists.xensource.com/xen-devel > > --001636458deeab171a047f5a787d Content-Type: text/html; charset=EUC-KR Content-Transfer-Encoding: quoted-printable Hi Jose,

Did you manage to resolve the following xenoprof error:
=
domU# opcontrol --start --event=3DL2_RQSTS:10= 0000 --xen=3D/boot/xen-syms-3.4.2 --vmlinux=3D/boot/vmlinux-2.6.
31.6-<= span class=3D"il">domU-xenoprof
/usr/local/bin/opcontrol: line 367: timer: comman= d not found
You cannot specify any performance counter events
because OProfile is in time= r mode.


I am facing the same pr= oblem. I am using xen-3.4.1 on dom0. Do I need to install xen on domU as we= ll?

My hardware is AMD-64.

Thanks for the help.

Best Regards, Hassan
http://cern.ch/ahmadh/portfolio

Erasmus Student
The Univers= ity of Reading, UK
Aristotle University of Thessaloniki, Greece
The University Of Carlos II= I, Madrid Spain



2010/1/29 =B9=DA=C0=BA=BA=B4 <peb1611@gmail.com>=
I already have strictly adhered to xenoprof_tutorial.
 
I also tried to apply xen-4.0.0-rc3-pre unstable version. but it is al= so does not work with same error message.
 
I want to know your active domain profiling environment, including xen= version, dom0, domU and linux distribution.

 
2010=B3=E2 1=BF=F9 28=C0=CF =BF=C0=C8=C4 3:50, S= antos, Jose Renato G <joserenato.santos@hp.com>=B4=D4= =C0=C7 =B8=BB:

This is the only recent fix I am aware of
Active mode pr= ofiling requires carefull synchronization between dom0 and the guest domain=
Make sure you follow the instructions described in:
=  
Renato<= /span>


From: =B9=DA=C0=BA=BA=B4 [mailto:peb1611@gmail.com]
Sent: Wedn= esday, January 27, 2010 7:39 PM=20

To: Santos, Jose Renato G
Cc: xen-devel@lists.xensource.c= om
Subject: Re: [Xen-devel] Is it possible that xenoprof acti= ve domain profiling using pvops jeremy's kernel

Thanks. I am sorry for late response.

the patch you have mentioned is already applied.
 
Hum....But, I have not tried to Xen 4.0 or unstable.
 
Is there any other difference between the patch and 4.0 or unstable ab= out xenoprof.c ??
 
2010=B3=E2 1=BF=F9 24=C0=CF =BF=C0=C0=FC 10:01, = Santos, Jose Renato G <joserenato.santos@hp.com>=B4= =D4=C0=C7 =B8=BB:
This seems to be related to a recently fixed bug.
Try using Xen 4.0 or latest unstable or apply the patch&n= bsp;posted in: 
 
Renato

From: =B9=DA=C0=BA=BA=B4 [mailto:peb1611@gmail.com]=
Sent: Saturday, January 23, 2010 12:33 AM
To: Santos,= Jose Renato G
Cc: xen-devel@lists.xensource.com
Subject: Re: [Xen-devel] Is = it possible that xenoprof active domain profiling using pvops jeremy's = kernel

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=3DL2_RQSTS:100000 --xen=3D/boot= /xen-syms-3.4.2 --vmlinux=3D/boot/vmlinux-2.6.31.6-xen-xenoprof --active-do= mains=3D1
Using 2.6+ OProfile kernel interface.
Reading module info.<= br> 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=3DL2_RQSTS:100000 --xen=3D/boot/xen-sy= ms-3.4.2 --vmlinux=3D/boot/vmlinux-2.6.31.6-domU-xenoprof
/usr/local/bi= n/opcontrol: line 367: timer: command not found
You cannot specify any p= erformance 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=B3=E2 1=BF=F9 23=C0=CF =BF=C0=C0=FC 3:32, S= antos, Jose Renato G <joserenato.santos@hp.com>=B4=D4= =C0=C7 =B8=BB:
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 xenop= rof patch in domU too. This should solve your problem...
 
Renato


From: xen-devel-bounces@lists.xenso= urce.com [mailto:xen-devel-bounces@lists.xensource.com] On Behal= f Of ???
Sent: Thursday, January 21, 2010 10:00 PM
To: xen-devel@lists.xens= ource.com
Subject: [Xen-devel] Is it possible that xenoprof a= ctive domain profiling using pvops jeremy's kernel

my system configuration
 
xen 3.4.2, oprofile 0.9.5( xenoprof patched ), dom0( jeremy's pvop= s kernel 2.6.31.6 - patched dullor's xenoprof patch ), domU( = vanilla kernel 2.6.32 with paravirt enabled ), distribution( ubuntu 9.10 )<= /div>
 
In passive mode, xenoprof seems to work well, opreport showed good inf= ormation.
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=3DL2_RQSTS:100000 --x= en=3D/boot/xen-syms-3.4.2 --vmlinux=3D/boot/vmlinux-2.6.31.6-xen-xenoprof -= -active-domains=3D7
 
<domU>
opcontrol --start --event=3DL2_RQSTS:100000 --xen=3D/b= oot/xen-syms-3.4.2 --vmlinux=3D/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&= #39;s patch available on vanilla kernel?? I had tried to patch the dullor&#= 39;s patch to vanilla kernel 2.6.31.6 with 2 conflict message.(mmu.c, xen-o= ps.h)
 
is there anyone who succeed in running xenoprof in active mo= de using jeremy's pvops 2.6.31.6 dom0 ??
 
 


=


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.= com
http://l= ists.xensource.com/xen-devel


--001636458deeab171a047f5a787d-- --===============2075653178== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2075653178==--