Open MPI logo

PLPA Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all PLPA Users mailing list

Subject: Re: [PLPA users] POWER /sys differences
From: Bert Wesarg (bert.wesarg_at_[hidden])
Date: 2008-08-15 13:35:45


On Fri, Aug 15, 2008 at 16:20, Jeff Squyres <jsquyres_at_[hidden]> wrote:
> Blah; I forgot to attach the tarball. Here it is.
>
> On Aug 15, 2008, at 10:18 AM, Jeff Squyres wrote:
>
>> It looks like POWER Linux systems have differences in /sys as compared to
>> AMD / Intel systems. Attached is a tarball from a SLES9/SP3 machine that
>> had its kernel upgraded to a kernel.org 2.6.18.1. The machine has 4
>> sockets, each with 2 SMT threads and 1 core.
>>
>> PLPA is currently looking for the following files:
>>
>> /sys/devices/system/cpu/cpuX/online
>> core_id
                              topology/core_id
>> physical_package_id
                              topology/physical_package_id
;-)

>>
>> But this POWER /sys filesystem doesn't have core_id or
>> physical_package_id. Instead, it has "physical_id". I notice that there's
>> also a "topology" directory under .../cpu/cpuX, but it's empty.
>>
>> Are there any POWER experts out there?
>>
>> More specifically, it looks like different chips have different things in
>> /sys. Ugh. Is there a way that PLPA can at least determine whether it's on
>> a sys that it understands?
Unfortunatly, it looks like these infos where just added to the kernel sources:

2008-07-28 powerpc: Make core id information available to userspace [1]
2008-07-28 powerpc: Make core sibling information available to userspace [2]

But the physical_package_id is still missing. Or, to be more precise:
its set to a default value (-1):

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e7849f16c13476288fe4fbd420975e8456c75aa0

Bert

[1]: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e9efed3b80a83e44b98fc626f3268ae072550b84
[2]: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=440a0857e32a05979fb01fc59ea454a723e80e4b

>>
>> --
>> Jeff Squyres
>> Cisco Systems
>>
>> _______________________________________________
>> plpa-users mailing list
>> plpa-users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/plpa-users
>
>
> --
> Jeff Squyres
> Cisco Systems
>
> _______________________________________________
> plpa-users mailing list
> plpa-users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/plpa-users
>
>