homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <1496753603.09.0.0109750133525.issue30581@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows, os.cpu_count() is currently implemented with:
"GetSystemInfo(&sysinfo); return sysinfo.dwNumberOfProcessors;"
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724958(v=vs.85).aspx
It seems to return the number of *logical* CPUs:
"""
dwNumberOfProcessors
 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?
History
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: <1496753603.09.0.0109750133525.issue30581@psf.upfronthosting.co.za>
2017年06月06日 12:53:23vstinnerlinkissue30581 messages
2017年06月06日 12:53:23vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /