| Facter does count offline cpus as physical cpus in addition to the real sockets. To see this behaviour log on to a machine with 2 physical cpus and start disabling single logical cores like echo "0" > /sys/devices/system/cpu/cpu19/online With every disabled core, the physical cpu count reported by facter is incremented. This seems to be caused by the id.empty() condition in processor_resolver::compute_cpu_counts. The code retrieves the id from .../topology/physical_package_id which is missing if a core is disabled, leading to an empty id. |