Skip to content
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

Detect ARM64 affinity cores #67

Merged
merged 4 commits into from
Dec 9, 2020
Merged

Detect ARM64 affinity cores #67

merged 4 commits into from
Dec 9, 2020

Conversation

klauspost
Copy link
Owner

@klauspost klauspost commented Dec 8, 2020

Use sched_getaffinity to get a logical/physical core count.

This is of course not completely reliable, but is better than nothing.

Trust ARMCPUID and try to get some more information, like vendor, etc.

Use `sched_getaffinity` to get a logical/physical core count.

This is of course not completely reliable, but is better than nothing.
@klauspost klauspost merged commit e6f7cd9 into master Dec 9, 2020
@klauspost klauspost deleted the arm64-linux-detect-cores branch December 9, 2020 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant