[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

Giampaolo Rodola' report at bugs.python.org
Sat Jul 29 12:57:08 EDT 2017


Giampaolo Rodola' added the comment:

About GetMaximumProcessorCount, MS doc states that it returns the "maximum number of logical processors that a processor group or the system can have", so maybe it also includes "empty" CPU sockets.

GetActiveProcessorCount, on the other hand, returns "the number of active processors in a processor group or in the system", which adds even more confusion.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30581>
_______________________________________


More information about the Python-bugs-list mailing list