[virt-tools-list] Attribute vm load to individual physical cpu

Richard W.M. Jones rjones at redhat.com
Sat Dec 10 09:47:09 UTC 2011


On Sat, Dec 10, 2011 at 04:32:14PM +0800, Fury kerry wrote:
> Jones,
> 
> Thanks for the reply. But I'm not clear how does it works.
> virNodeGetCPUStats<http://www.libvirt.org/html/libvirt-libvirt.html#virNodeGetCPUStats>basically
> query the /proc/stats to get the processing time of each CPU for
> *all* processes. And the
> virDomainGetInfo<http://www.libvirt.org/html/libvirt-libvirt.html#virDomainGetInfo>basically
> use the /proc/<pid>/stats to get the overall  time of a process.
> Do you employ some kind of heuristic calculation here?

I haven't looked at it beyond triaging the bug at the moment.

Please keep replies on the list.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the virt-tools-list mailing list