[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] profiling active RHEL 4 PV domains with xenoprof


  • To: "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
  • From: Dulloor <dulloor@xxxxxxxxx>
  • Date: Fri, 29 Jan 2010 12:50:11 -0500
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Andrew Evans <andrewe@xxxxxxxxxxxxx>
  • Delivery-date: Fri, 29 Jan 2010 09:50:33 -0800
  • 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:content-transfer-encoding; b=BDAv21j1tg+Achv94F5OGCCbUqGe34YY/f9qfjCtJlvM8wJez97EJqb2yMZL5a7DD7 wcgVlTPYMpb6zRxkjXU26sv8M8CXrR8pbMs/22XdNilk4xSVkPuJdwiGFin+va5CYf7R xBf0t4lH8t9/qePVl2EmvFXdAL/195z4Dgx4w=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I didn't test active profiling much, because I was interested in
profiling only the guest kernel. It could be the patches. I will take
a look and get back.

-dulloor

On Fri, Jan 29, 2010 at 12:04 PM, Santos, Jose Renato G
<joserenato.santos@xxxxxx> wrote:
>
>
>> -----Original Message-----
>> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
>> Andrew Evans
>> Sent: Thursday, January 28, 2010 5:38 PM
>> To: xen-devel@xxxxxxxxxxxxxxxxxxx
>> Subject: [Xen-devel] profiling active RHEL 4 PV domains with xenoprof
>>
>> Hi,
>>
>> Is it necessary to run a xenoprof-patched oprofile in a PV
>> domU being actively profiled? I ask because
>
>   Yes, you need need xenoprof support both in the kernel and in the OProfile 
> user level tools in anctive profiled domain.
>>
>> http://xenoprof.sourceforge.net/xenoprof_2.0.txt
>>
>> seems to say no (no mention of --xen switch) but
>>
>> http://www.xen.org/files/summit_3/xenoprof_tutorial.pdf
>>
>> seems to say yes (specifies use of --xen in domUs). I'm
>> running RHEL 4 in the domU I want to actively profile, and
>> RHEL 4 provides the ancient
>> oprofile-0.8.1 package, with no support for the --xen switch.
>> I've gotten oprofile 0.9.6 with xenoprof patches built on
>
>
>  Are you sure Oprofile user level tools has xenoprof support?
>  The latest patch avaialable in http://xenoprof.sourceforge.net/ is for 
> oprofile 0.9.5 but you claim to be using 0.9.6
>  Try using 0.9.5 and apply the patch.
>
>> RHEL 4 but haven't been able to test it due to XENOPROF_start
>> failing (see other message).
>>
>
>> Another thing I'm confused about: the above xenoprof tutorial
>> also specifies use of the --event switch in domUs, saying
>> they must use the same event as dom0. Makes sense, but my
>> domUs are PV, and oprofile says only timer interrupts are
>> usable. So must I also use timer interrupts on dom0?
>>
>
>  No, you should use the same event in dom0 and domU and not timer mode.
>  If Oprofile is reporting timer mode in domU there is something wrong in its 
> OProfile configuration; either you don't have the right patches or you are 
> not correctly synchronyzing dom0 and domU opcontrol commands.
>
>
>  Renato
>
>> thanks,
>>
>> -Andrew
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.