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

Re: [Xen-devel] Calculating real cpu usage of Xen domains correctly!



Anthony Liguori wrote:

Ian Pratt wrote:

Rather than trying to come up with metrics like this, I'd rather have
vm-top show the percentage of a physical CPU that each domain used,
independent of it's allocation.
i.e. total including the idle domain will be #CPUS x 100%.

Right, that's exactly what we want to do. How does one get that information? We thought that xc_domain_get_cpu_usage() would provide that information but it doesn't appear too.

(Caution: I have not even looked at this code and am ready to insert foot in mouth) Can you derive this based on a delta of time stamps, those timestamps correlating to times when the xen scheduler granted a domain's virtual cpu a physical cpu and when it was removed from a physical cpu?

-Andrew Theurer



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.