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

core id repeated on Opteron 6100 processors #28

Open
thomh opened this issue Mar 26, 2012 · 4 comments
Open

core id repeated on Opteron 6100 processors #28

thomh opened this issue Mar 26, 2012 · 4 comments

Comments

@thomh
Copy link

thomh commented Mar 26, 2012

The Opteron 6100 series are physically two multi-core CPUs on the same socket and the "core id:" field in cpuinfo is reused between CPUs, resulting in VanillaCpuLayout.fromCpuInfo() incorrectly counting them as multiple thread units for the same core.

Contents of /proc/cpuinfo: https://gist.github.com/2209193

@peter-lawrey
Copy link
Owner

Can you see a way to tell that are different cores and not different threads on the same core? It appears to me that the cpuinfo is incorrect. :P

@thomh
Copy link
Author

thomh commented Apr 13, 2012

It's certainly not sufficient for your purpose, anyway. I've had better luck using hwloc/lstopo from OpenMPI to get physical layout information, maybe you could leverage that somehow instead?

@peter-lawrey
Copy link
Owner

Do you have any example code or references for these functions?

@peter-lawrey
Copy link
Owner

BTW: You can provide your own "cpuinfo" file which contains the information which needs to be there.

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

No branches or pull requests

2 participants