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 yanirh
Recipients paul.moore, steve.dower, tim.golden, yanirh, zach.ware
Date 2018-03-28.10:01:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522231311.9.0.467229070634.issue33166@psf.upfronthosting.co.za>
In-reply-to
Content
wrong number of cpu's is reported on some specific platforms.

***

first platform:
server with X4 Intel Xeon E5-4620 (8 physical, 16 logical), running 
a 64bit Windows Server 2012 R2 Standard.
results:
os.cpu_count() reports 64 units
psutil.cpu_count(logical=False) reports 32 units
psutil.cpu_count(logical=True) reports 64 units

multiprocessing using concurrent.futures able to fully utilize the server;

***

second platform:
server with X2 Intel Xeon Gold 6138 (20 physical, 40 logical), running a 64bit Windows Server 2016 Standard.
results:
os.cpu_count() reports 128 units
psutil.cpu_count(logical=False) reports 20 units
psutil.cpu_count(logical=True) reports 40 units

multiprocessing using concurrent.futures able to utilize only 1/4 of the server's power;
History
Date User Action Args
2018-03-28 10:01:51yanirhsetrecipients: + yanirh, paul.moore, tim.golden, zach.ware, steve.dower
2018-03-28 10:01:51yanirhsetmessageid: <1522231311.9.0.467229070634.issue33166@psf.upfronthosting.co.za>
2018-03-28 10:01:51yanirhlinkissue33166 messages
2018-03-28 10:01:51yanirhcreate