Re: PMU in xen enviroment

William Cohen <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <[email protected]>
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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oprofile-list
> 


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.