* PMU in xen enviroment
@ 2015-04-13 4:21 蒋雄伟(蒋冲)
2015-04-13 14:44 ` William Cohen
2015-04-15 14:09 ` Konrad Rzeszutek Wilk
0 siblings, 2 replies; 4+ messages in thread
From: 蒋雄伟(蒋冲) @ 2015-04-13 4:21 UTC (permalink / raw)
To: oprofile-list; +Cc: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 657 bytes --]
Hi,everyone
We would like to obtain the distribution of CPU-specific hardware events
such as clock cycles and cache and TLB misses and branch-miss and etc. in
Xen environment . It is said that Xenoprof can be used to do so. We use
Intel's Ivy Bridge Processor which is released in 2012, so I think it is
better to use oprofile 0.9.8 or above. But http://xenoprof.sourceforge.net/
only released oprofile-0.9.5-xen.patch which is released in 2009. Does it
mean no patch is needed since OProfile 0.9.6 ? is there a detailed document
describing how to use oprofile in xen environment ? is there any other tools
to do so ?
Thanks a lot.
[-- Attachment #1.2: Type: text/html, Size: 3591 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PMU in xen enviroment
2015-04-13 4:21 PMU in xen enviroment 蒋雄伟(蒋冲)
@ 2015-04-13 14:44 ` William Cohen
2015-04-15 14:09 ` Konrad Rzeszutek Wilk
1 sibling, 0 replies; 4+ messages in thread
From: William Cohen @ 2015-04-13 14:44 UTC (permalink / raw)
To: "蒋雄伟(蒋冲)",
oprofile-list
Cc: xen-devel
On 04/13/2015 12:21 AM, 蒋雄伟(蒋冲) wrote:
>
> Hi,everyone
>
>
> We would like to obtain the distribution of CPU-specific hardware events such as clock cycles and cache and TLB misses and branch-miss and etc. in Xen environment . It is said that Xenoprof can be used to do so. We use Intel's Ivy Bridge Processor which is released in 2012, so I think it is better to use oprofile 0.9.8 or above. But http://xenoprof.sourceforge.net/ only released oprofile-0.9.5-xen.patch which is released in 2009. Does it mean no patch is needed since OProfile 0.9.6 ? is there a detailed document describing how to use oprofile in xen environment ? is there any other tools to do so ?
>
>
> Thanks a lot.
Hi,
There is a version of oprofile-0.9.9 for recent versions of fedora that include the xen patch:
http://koji.fedoraproject.org/koji/buildinfo?buildID=606050
That might be a reasonable starting point. However I don't think that the patch has been tested as most people are using KVM based virtualization on fedora.
IIRC is it somewhat complex to get everything setup and running for xenoprof because both host and guest need to be setup to do the monitoring:
http://www-archive.xenproject.org/files/summit_3/xenoprof_tutorial.pdf
-Will
>
>
>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>
>
>
> _______________________________________________
> oprofile-list mailing list
> oprofile-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oprofile-list
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PMU in xen enviroment
2015-04-13 4:21 PMU in xen enviroment 蒋雄伟(蒋冲)
2015-04-13 14:44 ` William Cohen
@ 2015-04-15 14:09 ` Konrad Rzeszutek Wilk
2015-04-15 14:23 ` Boris Ostrovsky
1 sibling, 1 reply; 4+ messages in thread
From: Konrad Rzeszutek Wilk @ 2015-04-15 14:09 UTC (permalink / raw)
To: 蒋雄伟(蒋冲)
Cc: boris.ostrovsky, oprofile-list, xen-devel
On Mon, Apr 13, 2015 at 12:21:42PM +0800, 蒋雄伟(蒋冲) wrote:
>
> Hi,everyone
>
>
> We would like to obtain the distribution of CPU-specific hardware events
> such as clock cycles and cache and TLB misses and branch-miss and etc. in
> Xen environment . It is said that Xenoprof can be used to do so. We use
> Intel's Ivy Bridge Processor which is released in 2012, so I think it is
> better to use oprofile 0.9.8 or above. But http://xenoprof.sourceforge.net/
> only released oprofile-0.9.5-xen.patch which is released in 2009. Does it
> mean no patch is needed since OProfile 0.9.6 ? is there a detailed document
> describing how to use oprofile in xen environment ? is there any other tools
> to do so ?
Boris (CCed) is working on making perf work under Linux + Xen.
Boris, would it make sense to have an Linux git tree with the set of patches
that use the Xen new hypercalls ?
>
>
> Thanks a lot.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PMU in xen enviroment
2015-04-15 14:09 ` Konrad Rzeszutek Wilk
@ 2015-04-15 14:23 ` Boris Ostrovsky
0 siblings, 0 replies; 4+ messages in thread
From: Boris Ostrovsky @ 2015-04-15 14:23 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk,
"蒋雄伟(蒋冲)"
Cc: oprofile-list, xen-devel
On 04/15/2015 10:09 AM, Konrad Rzeszutek Wilk wrote:
> On Mon, Apr 13, 2015 at 12:21:42PM +0800, 蒋雄伟(蒋冲) wrote:
>> Hi,everyone
>>
>>
>> We would like to obtain the distribution of CPU-specific hardware events
>> such as clock cycles and cache and TLB misses and branch-miss and etc. in
>> Xen environment . It is said that Xenoprof can be used to do so. We use
>> Intel's Ivy Bridge Processor which is released in 2012, so I think it is
>> better to use oprofile 0.9.8 or above. But http://xenoprof.sourceforge.net/
>> only released oprofile-0.9.5-xen.patch which is released in 2009. Does it
>> mean no patch is needed since OProfile 0.9.6 ? is there a detailed document
>> describing how to use oprofile in xen environment ? is there any other tools
>> to do so ?
> Boris (CCed) is working on making perf work under Linux + Xen.
>
> Boris, would it make sense to have an Linux git tree with the set of patches
> that use the Xen new hypercalls ?
Yes, I probably should do this.
-boris
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-04-15 14:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-13 4:21 PMU in xen enviroment 蒋雄伟(蒋冲)
2015-04-13 14:44 ` William Cohen
2015-04-15 14:09 ` Konrad Rzeszutek Wilk
2015-04-15 14:23 ` Boris Ostrovsky
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.