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

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

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.


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.

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