[RndTbl] reliable way of counting real CPUs under Linux?
Grigory.Shamov at umanitoba.ca
Thu Apr 17 14:39:09 CDT 2014
What would be the subj? Suppose you have a PC. It can have Intel or AMD
CPUs. It can have HyperThreading on, and even enabled. And it can have one
or two, or several sockets.
Would there be a universal method to count real physical cores? Say,
passing /proc/cpuinfo through a magic filter, and not failing on AMD
HPC Analyst, Westgrid/Compute Canada
E2-588 EITC Building, University of Manitoba
More information about the Roundtable