weizhouapache commented on issue #9693:
URL: https://github.com/apache/cloudstack/issues/9693#issuecomment-2358445536

   > @weizhouapache Does this mean that:
   > 
   > * (cluster.cpu.allocated.capacity.notificationthreshold)
   > * (cluster.cpu.allocated.capacity.disablethreshold)
   > 
   > Only triggers if the 'CPU' Field (Not # of CPU Cores) exceed the threshold?
   > 
   > But not all CPUs are 2,000Mhz. AMD 9554 is 3.1Ghz. And in the scenario of 
a mix cluster, it becomes even more complicated?
   > 
   > And when a node fails, how does cloudstack determine which remaining nodes 
the VM should failover to? Is it based on 'CPU'? Or ''# of CPU Cores)'?
   
   all operations are based on "CPU".
   the host with faster cpu (in mhz) is considered to have more cpu resources 
than the hosts with slower cpu.
   
   
   the `# of CPU Cores` is only returned in the listCapacity response and 
displayed on the dashboard. that's all.
   it was introduced in commit 088cca2b
   nothing will change even if we remove the capacity type 
`CAPACITY_TYPE_CPU_CORE` and related codes.
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to