You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case physical cores are dispatched across multiple sockets, on linux, the number of physical cores returned by the lib is twice the real number of physical cores.
The proposed algorithm is to count the number of different tuples (physical id, core id) returned by cat /proc/cpuinfo which correctly handles both hyper threading and multiple sockets.
In case physical cores are dispatched across multiple sockets, on linux, the number of physical cores returned by the lib is twice the real number of physical cores.
The proposed algorithm is to count the number of different tuples (physical id, core id) returned by
cat /proc/cpuinfo
which correctly handles both hyper threading and multiple sockets.See pull request #1
The text was updated successfully, but these errors were encountered: