[issue33166] os.cpu_count() returns wrong number of processors on specific systems

Antoine Pitrou report at bugs.python.org
Wed Mar 28 07:18:44 EDT 2018


Antoine Pitrou <pitrou at free.fr> added the comment:

> os.cpu_count() reports 128 units
> psutil.cpu_count(logical=False) reports 20 units
> psutil.cpu_count(logical=True) reports 40 units

You mean os.cpu_count() reports *more* CPUs than exist on the machine? How can that happen?

----------
nosy: +giampaolo.rodola, pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33166>
_______________________________________


More information about the Python-bugs-list mailing list