I have just found that

cat /sys/devices/system/cpu/cpu*/topology/physical_package_id
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1

which seems to be wrong.....

Jirka

On Thursday, August 05, 2010 12:19:41 am Jirka Hladky wrote:
> Hi,
> 
> I just got access to one POWER7 box. Both hwloc 1.0.2 and latest hwloc 1.1
> seem to have problems to detect the sockets correctly.
> 
> It's IBM 8406-71Y server equipped with only one socket. On the chip there
> are 8 cores. lstopo seems to be wrong here, reporting 8 sockets.
> 
> I'm not sure if this problem arose in linux kernel or it's bug in lstopo
> code. Does anybody else tried to run hwloc on POWER7?
> 
> Thanks
> Jirka
> 
> 
> Kernel: 2.6.32-54.el6.ppc64
> 
> r...@ibm-js24-01.lab.bos.redhat.com: /tmp/hwloc-1.1a1r2387/utils
> $ ./lstopo
> Machine (7616MB)
>   Socket #0 + L3 #0 (4096KB) + L2 #0 (256KB) + L1 #0 (32KB) + Core #0
>     PU #0 (phys=0)
>     PU #1 (phys=1)
>     PU #2 (phys=2)
>     PU #3 (phys=3)
>   Socket #1 + L3 #1 (4096KB) + L2 #1 (256KB) + L1 #1 (32KB) + Core #1
>     PU #4 (phys=4)
>     PU #5 (phys=5)
>     PU #6 (phys=6)
>     PU #7 (phys=7)
>   Socket #2 + L3 #2 (4096KB) + L2 #2 (256KB) + L1 #2 (32KB) + Core #2
>     PU #8 (phys=8)
>     PU #9 (phys=9)
>     PU #10 (phys=10)
>     PU #11 (phys=11)
>   Socket #3 + L3 #3 (4096KB) + L2 #3 (256KB) + L1 #3 (32KB) + Core #3
>     PU #12 (phys=12)
>     PU #13 (phys=13)
>     PU #14 (phys=14)
>     PU #15 (phys=15)
>   Socket #4 + L3 #4 (4096KB) + L2 #4 (256KB) + L1 #4 (32KB) + Core #4
>     PU #16 (phys=16)
>     PU #17 (phys=17)
>     PU #18 (phys=18)
>     PU #19 (phys=19)
>   Socket #5 + L3 #5 (4096KB) + L2 #5 (256KB) + L1 #5 (32KB) + Core #5
>     PU #20 (phys=20)
>     PU #21 (phys=21)
>     PU #22 (phys=22)
>     PU #23 (phys=23)
>   Socket #6 + L3 #6 (4096KB) + L2 #6 (256KB) + L1 #6 (32KB) + Core #6
>     PU #24 (phys=24)
>     PU #25 (phys=25)
>     PU #26 (phys=26)
>     PU #27 (phys=27)
>   Socket #7 + L3 #7 (4096KB) + L2 #7 (256KB) + L1 #7 (32KB) + Core #7
>     PU #28 (phys=28)
>     PU #29 (phys=29)
>     PU #30 (phys=30)
>     PU #31 (phys=31)
> _______________________________________________
> hwloc-devel mailing list
> hwloc-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel

Reply via email to