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

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


  • To: Andrew Evans <andrewe@xxxxxxxxxxxxx>
  • From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Date: Fri, 29 Jan 2010 12:41:55 +0000
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 29 Jan 2010 04:42:19 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=cAlhsDuGKp90sNrWxhAgCqsnp6fRwTS72bLLFM4Yrrau29fGtm66VDUlCWTQ3DGxh0 M2D9E0pRMRnXvkKMNy0g0SVDnbYuhG6Vp4EyAJ4iSoFBQfY513cPlmNBzJaa0/MS6qFr 0UBj60HOjXDEyvYY7qZwak+f5Fd0zP1teX2GQ=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

It's been a long time since I played with oprofile; I think it could
use some serious attention, but it's been on my "list of important
things to do someday" for about 2 years now. :-)

Re the PV kernels: are you sure that the PV kernel has support for Xen
profiling? PV xenoprofile makes hypercalls to Xen to set up the
performance event counters.  But if that isn't set up properly, or for
some other reason doesn't work right, the guest oprofile may default
back to using only timers, for which it doesn't need Xen's help (but
which are less accurate especially in a virtual environment).

 -George

On Fri, Jan 29, 2010 at 1:37 AM, Andrew Evans <andrewe@xxxxxxxxxxxxx> wrote:
> Hi,
>
> Is it necessary to run a xenoprof-patched oprofile in a PV domU being
> actively profiled? I ask because
>
> 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 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?
>
> 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


 


Rackspace

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