* kvm perf question
@ 2014-06-25 13:42 Xuekun Hu
0 siblings, 0 replies; only message in thread
From: Xuekun Hu @ 2014-06-25 13:42 UTC (permalink / raw)
To: kvm
Hi, All
I started a VM, and nothing running in that VM. Then using “perf stat”
to collect some data, interesting thing is the number of “kvm_apic” is
greater than that of “kvm_exit”. My understanding is “kvm:kvm_exit” is
the number of vmexit, while “kvm_apic” is the number of vmexit due to
apic access. Is my understanding right? If so, in what condition the
number of “kvm_apic” could be greater than that of “kvm_exit”?
[root@centos_ivy ~]# perf stat -a -e 'kvm:kvm_exit' -e 'kvm:kvm_apic'
-e "kvm:kvm_apic_ipi" sleep 1s
Performance counter stats for 'sleep 1s':
47,251 kvm:kvm_exit
[100.00%]
52,650 kvm:kvm_apic
[100.00%]
4,519 kvm:kvm_apic_ipi
1.001805327 seconds time elapsed
My configuration is : ivybridge-EP, Centos, kernel 3.15.0.
Many thanks.
Thx, Xuekun
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-06-25 13:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-25 13:42 kvm perf question Xuekun Hu
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.