Author vstinner
Recipients paul.moore, robbuckley, steve.dower, tim.golden, vstinner, zach.ware
Date 2017-06-06.12:53:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On Windows, os.cpu_count() is currently implemented with:

"GetSystemInfo(&sysinfo); return sysinfo.dwNumberOfProcessors;"

It seems to return the number of *logical* CPUs:


    The number of logical processors in the current group.

Note: For information about the physical processors shared by logical processors, call GetLogicalProcessorInformationEx with the RelationshipType parameter set to RelationProcessorPackage (3).

It seems like you have two physical CPU packages. Maybe the function only returns infos from the first package?
Date User Action Args
2017-06-06 12:53:23vstinnersetrecipients: + vstinner, paul.moore, tim.golden, zach.ware, steve.dower, robbuckley
2017-06-06 12:53:23vstinnersetmessageid: <>
2017-06-06 12:53:23vstinnerlinkissue30581 messages
2017-06-06 12:53:23vstinnercreate