Re: [PATCH 0/4] Add new public API virDomainGetPcpusUsage and pcpuinfo command in virsh

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

 



On 12/07/2011 08:40 PM, Lai Jiangshan wrote:
> "virt-top -1" can call virDomainGetPcpusUsage() periodically and get
> the CPU activities per CPU. (still require virt-top site patch).
> 
> virsh is also added a pcpuinfo command which calls virDomainGetPcpusUsage(),
> it gets information about the physic CPUs, such as the usage of
> CPUs, the current attached vCPUs.

Meta-question - is this the time taken _by just the guest in question_
on the host's physical CPU, or is it the cumulative CPU time taken by
all process on the physical CPU, in which case this would be better
named as virNodeGetCpusUsage()?  And if it is per-domain, then what's
the difference between physical cpu usage and virtual cpu usage (that
is, can we even tell the overhead of the hypervisor, and should we be
exposing that overhead to the user)?

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]