Reviving this old issue since trying to generate reports about hypervisor topology using statistics from novaclient yields some hilariously wrong results against NUMA-enabled compute nodes.
We're fans of this approach; let n-cpu count up the cells/sockets/cores/threads in the system and return them as cpu_info attributes. This way the consuming applications can just use the totals given, and don't need to make any assumptions that could be of dubious nature on exotic hardware profiles.
https:/ /review. openstack. org/223869
Reviving this old issue since trying to generate reports about hypervisor topology using statistics from novaclient yields some hilariously wrong results against NUMA-enabled compute nodes.
We're fans of this approach; let n-cpu count up the cells/sockets/ cores/threads in the system and return them as cpu_info attributes. This way the consuming applications can just use the totals given, and don't need to make any assumptions that could be of dubious nature on exotic hardware profiles.