[mpich-discuss] Hydra binding questions
Pavan Balaji
balaji at mcs.anl.gov
Wed Aug 17 23:36:03 CDT 2011
Rohit,
[please keep mpich-discuss cc'ed]
Maybe you are misunderstanding what "rr" means. The -binding rr option
has nothing to do with Intel vs. AMD. It just assigns processes in the
increasing order of processor IDs. If your system has N cores, it'll
always be 0, 1, 2, ..., N-1.
-- Pavan
On 08/17/2011 11:33 PM, Jain, Rohit wrote:
> Hi Pavan,
>
> Here is another output from a different machines, where rr seems to behave correctly as per round robin style. (Notice the pid numbering in topomap between two machines).
> Also, all other intel machine that I tried has rr binding similar to this, which made me come to the conclusion that earlier binding info that I sent is not correct for 'rr'.
>
> topomap: (MACHINE,(NODE,mem_size:34357497856,(SOCKET,(CORE,(THREAD,pid:0)),(CORE,(THREAD,pid:2)),(CORE,(THREAD,pid:4)),(CORE,(THREAD,pid:6)),(CORE,(THREAD,pid:8)),(CORE,(THREAD,pid:10)))),(NODE,mem_size:34359730176,(SOCKET,(CORE,(THREAD,pid:1)),(CORE,(THREAD,pid:3)),(CORE,(THREAD,pid:5)),(CORE,(THREAD,pid:7)),(CORE,(THREAD,pid:9)),(CORE,(THREAD,pid:11)))))
>
> -binding rr
> processmap: (0;1;2;3;4;5;6;7;8;9;10;11)
>
> -binding cpu:sockets
> processmap: (0;1;2;3;4;5;6;7;8;9;10;11)
>
> Regards,
> Rohit
>
>
> -----Original Message-----
> From: Pavan Balaji [mailto:balaji at mcs.anl.gov]
> Sent: Wednesday, August 17, 2011 7:54 PM
> To: Jain, Rohit
> Cc: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] Hydra binding questions
>
> Rohit,
>
> The output seems to be exactly what I expect. "rr" sets the binding
> based on the processor ID. 0,1,2,3,4,6,7 is exactly that.
>
> -- Pavan
>
> On 08/17/2011 07:04 PM, Jain, Rohit wrote:
>> Hi Pavan,
>>
>> I tried 1.4.1rc1. it seems to resolve binding related issues I reported earlier. Thanks for fixing that.
>>
>> I see different behavior on one of AMD machine, where rr doesn't seem to allocate correct binding. It is doing in sequence rather than round robin style.
>> Socket binding is working fine.
>>
>> -binding rr | gp processmap
>> processmap: (0;1;2;3;4;5;6;7)
>>
>> -binding cpu:sockets | gp processmap
>> processmap: (0;4;1;5;2;6;3;7)
>>
>> topomap: (MACHINE,(NODE,mem_size:17850953728,(SOCKET,(CORE,(THREAD,pid:0)),(CORE,(THREAD,pid:1)),(CORE,(THREAD,pid:2)),(CORE,(THREAD,pid:3)))),(NODE,mem_size:17179865088,(SOCKET,(CORE,(THREAD,pid:4)),(CORE,(THREAD,pid:5)),(CORE,(THREAD,pid:6)),(CORE,(THREAD,pid:7)))))
>>
>> Regards,
>> Rohit
>>
>
--
Pavan Balaji
http://www.mcs.anl.gov/~balaji
More information about the mpich-discuss
mailing list