lkml.org 
[lkml]   [2005]   [May]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: /proc/cpuinfo format - arch dependent!
FromAndi Kleen <>
DateSun, 08 May 2005 15:24:30 +0200
"Bodo Eggert <harvested.in.lkml@posting.7eggert.dyndns.org>" <7eggert@gmx.de> writes:

>
> Obviously it must be a tree of CPU groups. CPUs in one NUMA node go into
> one group, multi-core CPUs have all cores in one group and HT is a group,
> too. This will scale from UP (degenerated tree with just one CPU) to
> clusters with multicore HT-capable CPUs on PCI boards.

All this informtation (except HT/multicore are folded into a single
level) is already there in sysfs.

libnuma uses it to discover the topology and report it to the
user.


-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-08 15:27    [from the cache]
©2003-2008