Skip to content

Commit b7c8d19

Browse files
committed
CLOUDSTACK-4863: Count CPU hyper-threading as logical CPU core for allocation
1 parent 2ceea80 commit b7c8d19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • vmware-base/src/com/cloud/hypervisor/vmware/mo

‎vmware-base/src/com/cloud/hypervisor/vmware/mo/HostMO.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ public VmwareHypervisorHostResourceSummary getHyperHostResourceSummary() throws
910910

911911
HostHardwareSummary hardwareSummary = getHostHardwareSummary();
912912
// TODO: not sure how hyper-thread is counted in VMware resource pool
913-
summary.setCpuCount(hardwareSummary.getNumCpuCores());
913+
summary.setCpuCount(hardwareSummary.getNumCpuThreads());
914914
summary.setMemoryBytes(hardwareSummary.getMemorySize());
915915
summary.setCpuSpeed(hardwareSummary.getCpuMhz());
916916

0 commit comments

Comments
 (0)