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

xen-devel

[Top] [All Lists]

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

To: Andrew Evans <andrewe@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] profiling active RHEL 4 PV domains with xenoprof
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: 2010年1月29日 12:41:55 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2010年1月29日 04:42:19 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=zVY/pTgC/XM8mnkV7gUvxTSkW6r/rrRKicU/h7z3ub4=; b=lVxs8iCm3V7jKUDyoQQckZUWNQguIPjS0I7zWwPU89JPfPxb+2qxzAdbvbe4NfLY0T Ql6goRJc+h9a4oeCt3T/BQBchbkkmk6Sakzy+c6U+omZixBK46JIYB5neGunUrKPOd36 AJymYplDL7WzkbO2ZOJvmfP77z1PqGjUi7dXk=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B623BED.6090603@xxxxxxxxxxxxx>
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: <4B623BED.6090603@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Re: Test results for save/restore with upstream pv_ops domU kernels , Pasi Kärkkäinen
Next by Date: [Xen-devel] Re: dom0 pvops crash when used as domU kernel , Ian Jackson
Previous by Thread: [Xen-devel] profiling active RHEL 4 PV domains with xenoprof , Andrew Evans
Next by Thread: Re: [Xen-devel] profiling active RHEL 4 PV domains with xenoprof , Andrew Evans
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /