lkml.org 
[lkml]   [2001]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Near CPUs ...
On Wed, 12 Dec 2001, Martin J. Bligh wrote:

> > How to detect CPUs that are "near" ( on the same bus/mb ) on x86/ia64 hardware ?
> > Is the MP configuration data structured in a way that makes you understand
> > this mapping, ie :
>
> IIRC, for HT, cpus with an APICid that only differ in the last bit are paired
> (ie (0,1), (2,3), (3,4) ....)
>
> For systems with clustered APIC ID, the cluster number is the top nibble of the
> logical APICid - CPUs with the same cluster number are in the same node.

This info is good enough for now but i think there should be an abstract
interface inside the kernel to get topology infos.
I looked at SRAT tables, they're good if they'll be a standard w/out M$
patents. Otherwise the ACPI2 _PXM method can be used.




- Davide


-
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-03-22 13:14    [from the cache]
©2003-2011 Jasper Spaans