mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4863: Count CPU hyper-threading as logical CPU core for allocation
This commit is contained in:
parent
68952514ce
commit
7d89cecfff
|
|
@ -910,7 +910,7 @@ public class HostMO extends BaseMO implements VmwareHypervisorHost {
|
|||
|
||||
HostHardwareSummary hardwareSummary = getHostHardwareSummary();
|
||||
// TODO: not sure how hyper-thread is counted in VMware resource pool
|
||||
summary.setCpuCount(hardwareSummary.getNumCpuCores());
|
||||
summary.setCpuCount(hardwareSummary.getNumCpuThreads());
|
||||
summary.setMemoryBytes(hardwareSummary.getMemorySize());
|
||||
summary.setCpuSpeed(hardwareSummary.getCpuMhz());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue