mib1185 commented on pull request #4986:
URL: https://github.com/apache/cloudstack/pull/4986#issuecomment-831342332


   > @DK101010 @rhtyd
   > if cpu speed is 0, the used cpu capacity will be inaccurate.
   > it might cause problems on some vm allocation algorithms, and also cpu 
capacity check when start a vm.
   
   Hi @weizhouapache 
   as I understand, CPU speed is not used for capacity calculations, but for 
prioritization of VMs on hypervisor, when CPU is overcommitted and CPU speed is 
used to select the host by its provided CPU speed - eq. serviceoffering with 
cpu-speed = 2000 will never deploy on host with (_base_) CPU speed of 1900, 
even there are enough CPU cores available.
   With "CPU cap" enabled in service offering, speed will also be limited on 
hypervisor, even more ressources are available.
   Those set CPU speed to 0 acts more as "unlimited" CPU speed usage 
(_independent of CPU count_)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to