Revision history [back]

click to hide/show revision 1
initial version

cpu_util acquired from Ceilometer does make a difference with top command inside the VM, yet I'm not sure if there is such a big difference.

The way Ceilometer get cpu_util: 1. obtain a VM CPU use time by libvirt dominfo. 2. calculate the real use time between the two polling interval. 3. then use the following formula to get cpu_util: cpu_real_use_time * 100.0 /poll_interval * (10 ** 9 * (resource_metadata.cpu_number or 1))