-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My computer's CPU is AMD 9754, with 128 cores and 256 logic processors. But why does nodejs get 64 through os. cpu(). length? How to obtain the correct logical processor #4435
Comments
@nodejs/os PTAL |
What does this mean? I didn't understand @RedYetiDev |
Stalled for the @nodejs/os team to take a look. If they don't in a few more days I'll reach out. |
Sometimes, it may be a limitation that has been implemented within Node.js |
what does is responsible for obtaining CPU count in windows, which I believe is inline with |
@wangzhiguoengineer - thanks, can you also run |
Node.js Version
v22.3.0
NPM Version
10.8.1
Operating System
Windows 11 Professional Workstation Edition
Subsystem
child_process, cluster, v8
Description
My computer's CPU is AMD 9754, with 128 cores and 256 logic processors. But why does nodejs get 64 through os. cpu(). length? How to obtain the correct logical processor
Minimal Reproduction
Output
Before You Submit
The text was updated successfully, but these errors were encountered: