This is useful for when collecting data for Guest OS licensing (Microsoft)
where physical core count matters, not socket or thread count.
The "cpus" value counts threads when Hyperthreading is enabled.
Signed-off-by: Mike Beattie
---
src/PVE/ProcFSTools.pm | 9 -
1 file
ntry, but that would entail a cpu model map to threads/core. It is
simpler to just sum the 'cpu cores' line from each unique physical cpu
in /proc/cpuinfo, which this patch does (by slightly abusing the hash
used to count sockets).
Mike Beattie (1):
Add cpu core count to /nodes/{i