Re: /proc/cpuinfo format - arch dependent!

From: Andi Kleen
Date: Sun May 08 2005 - 08:25:44 EST


"Bodo Eggert <harvested.in.lkml@xxxxxxxxxxxxxxxxxxxxxxxxxx>" <7eggert@xxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/