kvm perf question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux