We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On OS X we report the following aggregate CPU information on a Retina MBP: "real": 4, "total": 8,
The problem is this system has 1 real cpu, 4 total (real cores), and 8 cores (hyperthreaded cores).
we use sysctl -n hw.physicalcpu for real CPUs which is actually real cores not CPUs.
If we want the number of physical CPUs we want hw.packages
The text was updated successfully, but these errors were encountered:
Turns out we're not doing this wrong. We're just not reporting the real CPU.
Sorry, something went wrong.
No branches or pull requests
On OS X we report the following aggregate CPU information on a Retina MBP:
"real": 4,
"total": 8,
The problem is this system has 1 real cpu, 4 total (real cores), and 8 cores (hyperthreaded cores).
we use sysctl -n hw.physicalcpu for real CPUs which is actually real cores not CPUs.
If we want the number of physical CPUs we want hw.packages
The text was updated successfully, but these errors were encountered: