On ppc systems, this just gives None, even though (say) the system has 8 hyperthreading cores per physical core and (say) 160 total hyperthreading cores.
Even worse, on x86 systems, it randomly gives 64k as the result. A reboot changes that for the systems affected, but it eventually gets stuck that way again.
Since we were feeding that into a choice of physical cores, this led to major problems for any multi-threaded application (a thread bomb).
Perhaps psutil is not reading the data correctly in all cases, or makes assumptions about the data format that can change.
On ppc systems, this just gives None, even though (say) the system has 8 hyperthreading cores per physical core and (say) 160 total hyperthreading cores.
Even worse, on x86 systems, it randomly gives 64k as the result. A reboot changes that for the systems affected, but it eventually gets stuck that way again.
Since we were feeding that into a choice of physical cores, this led to major problems for any multi-threaded application (a thread bomb).
Perhaps psutil is not reading the data correctly in all cases, or makes assumptions about the data format that can change.