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

Not an issue, enhancement. Cpu core count with correct topology #10

Open
adolfotregosa opened this issue Dec 19, 2023 · 0 comments
Open

Comments

@adolfotregosa
Copy link

You are only missing this for feature completion ! Good work, thank you.

Be aware of the topology for 7840U if you decide to implement this.

grep -H . /sys/devices/system/cpu/cpu*/topology/thread_siblings_list

/sys/devices/system/cpu/cpu0/topology/thread_siblings_list:0,8
/sys/devices/system/cpu/cpu1/topology/thread_siblings_list:1,9
/sys/devices/system/cpu/cpu2/topology/thread_siblings_list:2,10
/sys/devices/system/cpu/cpu3/topology/thread_siblings_list:3,11
/sys/devices/system/cpu/cpu4/topology/thread_siblings_list:4,12
/sys/devices/system/cpu/cpu5/topology/thread_siblings_list:5,13
/sys/devices/system/cpu/cpu6/topology/thread_siblings_list:6,14
/sys/devices/system/cpu/cpu7/topology/thread_siblings_list:7,15
/sys/devices/system/cpu/cpu8/topology/thread_siblings_list:0,8
/sys/devices/system/cpu/cpu9/topology/thread_siblings_list:1,9
/sys/devices/system/cpu/cpu10/topology/thread_siblings_list:2,10
/sys/devices/system/cpu/cpu11/topology/thread_siblings_list:3,11
/sys/devices/system/cpu/cpu12/topology/thread_siblings_list:4,12
/sys/devices/system/cpu/cpu13/topology/thread_siblings_list:5,13
/sys/devices/system/cpu/cpu14/topology/thread_siblings_list:6,14
/sys/devices/system/cpu/cpu15/topology/thread_siblings_list:7,15

this means that disabling SMT, actual cores should be from 0 to 7 (not 0 2 4 6 8 etc) and with SMT threads from 8 to 15

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

1 participant