lkml.org 
[lkml]   [2001]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectNear CPUs ...

The multi queue scheduler i'm currently working on uses a balancing method
that relies on a metric table :

unsigned char cpus_dmap[NR_CPUS][NR_CPUS];

that lists metrics between CPUs, ie :

metric(I, J) = F(cpus_dmap[I][J])

and this is the easy part.
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 :

HDR-ENTRY
BUS-ENTRY
CPU-ENTRY
...
BUS-ENTRY
...




- 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    [W:1.884 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site