xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Perf support
@ 2013-03-16 18:03 John Nelson
  0 siblings, 0 replies; 2+ messages in thread
From: John Nelson @ 2013-03-16 18:03 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 635 bytes --]

I am a member of the PAPI team (http://icl.cs.utk.edu/papi/). We are
interested in supporting performance counters in xen. It would appear from
a few threads in 2012 that xen should support counter access using perf
(which is what our tool uses). However, I have not been able to
successfully get any results in Dom0 or DomU. I am getting the error in
dmesg:

Performance Events: unsupported p6 CPU model 42 no PMU driver,
software events only.

Does this necessarily mean that this CPU will not support PMU at all? Are
there any other specific steps I need to take other than including vpmu
flag to enable virtual PMU support?

-John

[-- Attachment #1.2: Type: text/html, Size: 1092 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] 2+ messages in thread

* Re: Perf support
@ 2013-03-17  3:48 Boris Ostrovsky
  0 siblings, 0 replies; 2+ messages in thread
From: Boris Ostrovsky @ 2013-03-17  3:48 UTC (permalink / raw)
  To: john.l.nelson; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 849 bytes --]


----- john.l.nelson@gmail.com wrote: 
> 
>I am a member of the PAPI team ( http://icl.cs.utk.edu/papi/ ). We are interested in supporting performance counters in xen. It would appear from a few threads in 2012 that xen should support counter access using perf (which is what our tool uses). However, I have not been able to successfully get any results in Dom0 or DomU. I am getting the error in dmesg: 




> 
> Performance Events: unsupported p6 CPU model 42 no PMU driver, 
> software events only. 
> 
> Does this necessarily mean that this CPU will not support PMU at all? Are there any other specific steps I need to take other than including vpmu flag to enable virtual PMU support? 


HVM guests should support perf with HW counters but this won't work on PV guests (including dom0) at this time. 

-boris 









[-- Attachment #1.2: Type: text/html, Size: 1460 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] 2+ messages in thread

end of thread, other threads:[~2013-03-17  3:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-17  3:48 Perf support Boris Ostrovsky
  -- strict thread matches above, loose matches on Subject: below --
2013-03-16 18:03 John Nelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).