cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

nudgegoonies
Journeyman III

How to read performance counters from a virtual machine under KVM?

I use Fedora 17 Beta with Linux Kernel 3.3.4-5 x86_64 on host AND  virtual machine and a qemu-kvm build from git wich already features the platform pc-1.1 wich features the vPMU. I use libvirt and pass the parameter "-cpu host" to qemu-kvm and acpi and apic are enabled. I still can't use perf, oprofile and papi inside the vm altough the availible counters are identified. Does the virtual PMU, aka Guest PMU, require an Intel Core CPU with the arch_perfmon flag (i read reports where people with these CPUs run oprofile) AND/OR an AMD family 15h CPU? The reason i ask is this part inside perf_event_amd.c:

/*

     * If core performance counter extensions exists, it must be

     * family 15h, otherwise fail. See x86_pmu_addr_offset().

     */

I use a system with two Quad-Core AMD Opteron(tm) Processor 2356 and 16GB RAM and have to do performance analysis of a virtualized multicore machine with KVM during my internship. I am a computer science student. Another studend has already done it with XEN and xenoprofile.

0 Likes
2 Replies
kcarney
Staff

Hello!

Since you haven't gotten any replies on the forums yet, try contacting AMD Support by email here: http://emailcustomercare.amd.com/

or by phone here:

http://support.amd.com/us/contacts/Pages/global-technical-support.aspx

Good luck!

Kristen

0 Likes

Thank you very much!

I've sent a mail with the same question and some more details.

Regards,

Andreas

0 Likes