Comments (3)
I'd love to help out, unfortunately:
- 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!
from num_cpus.
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?
from num_cpus.
I have implemented this feature. I will send a PR soon.
from num_cpus.
Related Issues (20)
- Returns 13 cores on AWS 16 core instance HOT 3
- [Q&A] Is there a way to get the number of performance cores on Apple Silicon? HOT 5
- Returning `NonZeroUsize` HOT 3
- How to know the number of big and little cores in ARM big.LITTLE architecture?
- Should hyperthreads be counted when disabled? HOT 2
- Deprecate library? HOT 6
- Is num_cpus impacted by lxcfs #469?
- Number of CPUs detected incorrectly on systems using cgroups v2 HOT 2
- Feature Request: cgroupv2 support HOT 3
- Request: make a new release with updated `hermit-abi` dep HOT 2
- num_cpus::get() returns 1 when used alongside blas library HOT 1
- num_cpus::get()=0 on mipsel-unknown-linux-gnu HOT 10
- Re-enable Fuchsia CI target HOT 1
- Make a 1.10.1 release HOT 1
- Be more optimistic when querying on Windows? HOT 3
- Test/document cgroups behavior HOT 1
- get_physical() returning wrong value with AMD 2970WX
- Add call to check total number of CPUs? HOT 6
- Incorrect count return by `get_num_physical_cpus` in my linux laptop. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from num_cpus.