Skip to contentSkip to conversation

XenAPI: why we implement VM_metrics.VCPUs_utilisation as proportion?

DISCUSSION Zhigang Wang 1 participant 1 message Sep 3, 2008

lore
Share & tools
lore
#0 lore raw

hi all,

why we implement VM_metrics.VCPUs_utilisation as the proportion of all cpu time?

Then XenAPI client (xm) can not get the accumulated cpu_time of each vcpu.

I recommend we make VM_metrics.VCPUs_utilisation just the cpu_time which is maintained by hypervisor.

Then XenAPI client (xm) not only can get the accumulated cpu_time of each vcpu, but also can calculate the proportion by getting twice the VM_metrics.VCPUs_utilisation.

Am I missing something?

thanks,

zhigang