cpuTimes and qemu-kvm on F13

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

 



http://libvirt.org/html/libvirt-libvirt.html#virDomainInfo
http://libvirt.org/html/libvirt-libvirt.html#virVcpuInfo

Both virDomainInfo and virVcpuInfo have a nanosecond cpuTime field. How do the two related to one another?

With some experiementing, it appears the virDomainInfo::cpuTime is equal to the host CPU time used by the qemu-kvm process for the domain. It also appears that the sum(virVcpuInfo::cpuTime) for a domain is not equal to the virDomainInfo::cpuTime. Is the virVcpuInfo::cpuTime how much host CPU time was spent simulating the vCPU? Making the difference between the sum and the virDomainInfo::cpuTime the overhead of qemu-kvm?

Does the relationship hold for other hypervisors?

Best,


matt


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux