Change by yanir hainick :
--
components: Windows
nosy: paul.moore, steve.dower, tim.golden, yanirh, zach.ware
priority: normal
severity: normal
status: open
type: behavior
___
Python tracker
<https://bugs.python.org/issue33
yanir hainick added the comment:
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(lo
yanir hainick added the comment:
Yup.
Attaching a screenshot.
--
Added file: https://bugs.python.org/file47504/Screenshot.png
___
Python tracker
<https://bugs.python.org/issue33
yanir hainick added the comment:
Maybe i'm missing something, and would appreciate clarification.
Perhaps psutil is wrong, but it gives an answer that has something to do with
the actual situation.
On platform 2, i have 2 Intel Xeon Gold 6138, each with 20 physical processors,
40 log
yanir hainick added the comment:
Yes. Both are wrong, and os.cpu_count() is completely off.
Regarding how to determine the number of physical/logical cores in my machine -
well, not sure what you mean by that. I've attached a screenshot of Windows'
system information. Also used
yanir hainick added the comment:
Ok, no problem.
Just to be sure i'm doing the right thing - this thread will be dedicated to
the os.cpu_count() issue, and i'll open a new issue on the parallelization
problem.
makes sense?
--
___
Pyth
New submission from yanir hainick :
I'm using either multiprocessing package or concurrent.futures for some
embarrassingly parallel application.
I performed a simple test: basically making n_jobs calls for a simple function
- 'sum(list(range(n)))', with n large enough so that t