lkml.org 
[lkml]   [2004]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] kernel sysfs events layer
Paul Jackson wrote:
> Jan wrote:
>
>>Well, time for /sys/devices/memory/memory<n>/. That would perhaps also
>>be suitable for numa which want to know which memory module is near
>>which cpu.
>
>
> Don't we already have something like that. On an SN2 near me at this
> time, running 2.6.9-rc1-mm4:
>
> # pwd
> /sys/devices/system/node/node0
>
> # ls -lt cpu? | cut -c33-
> 0 Sep 15 00:50 cpu0 -> ../../../../devices/system/cpu/cpu0
> 0 Sep 15 00:50 cpu1 -> ../../../../devices/system/cpu/cpu1
>
> This tells me that CPUs 0 and 1 are on node 0.

And how do you know which memory modules are near cpu0 and 1 ?
Is there already a devices/system/memory/ thing which also gets linked
from the node0 directory?
(Sorry, no SN2 to check handy ;-) )

Jan

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