Github user jayakarteek commented on the issue:

    https://github.com/apache/cloudstack/pull/1918
  
    @rafaelweingartner 
    we can retrieve the CPU speed of the host but the utilisation will have 
mismatch.
    create VM with  Medium Instance having 1000 Mhz , and VM is utilising 
200Mhz of CPU then utilisation is 20%.
    But if we consider host CPU capacity with  2400Mhz  then utilisation in 
8.3%.
    
    @nvazquez 
    
    I checked CPUCounter API doc, even in this case values will have some 
missmatch.
    as per the below document with the usage formula they are using.
    
https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/cpu_counters.html
    
    
    
    
     



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to