You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on an aws windows instance, num_cpus::get() returned 48 for a machine with 96 logical cores. I expected the result would be 96, not 48, the number of physical cores.
Huh, I just checked the MSDN docs about GetSystemInfo and dwNumberOfProcessors, and noticed this:
The number of logical processors in the current group.
It seems the group can only have up to 64 (and thus you're seeing 48)? Since you seem to have access to a windows box with a lot of cores, would you be able to help with the fix?
I was only on the machine briefly to run something numerically intensive
I have close to no experience with windows system calls, and deeply loathe windows in general
I tried to read the docs you reference in the last few minutes and found them baffling, even incomprehensible. Perhaps more than 64 cores is unusual enough it's not explained super well? Maybe it's just late.
However - next time I am working on one of these instances I'll try to poke around, if it's still relevant. Thanks!
on an aws windows instance,
num_cpus::get()
returned 48 for a machine with 96 logical cores. I expected the result would be 96, not 48, the number of physical cores.num_cpus v1.10.1
rustc: 1.38.0-nightly 2019-07-18
CPU readout from windows task manager:
Thanks for your hard work on the library!
(edit: adds num_cpus version)
The text was updated successfully, but these errors were encountered: