[mpich-discuss] Affinity with MPICH_ASYNC_PROGRESS

Pavan Balaji balaji at mcs.anl.gov
Wed Feb 27 03:19:43 CST 2013


On 02/25/2013 08:41 AM US Central Time, Jed Brown wrote:
> It sounds like you are binding a process. Suppose hydra binds my process
> to cpuset 0xf and my process pthread_creates a total of three threads.
> If I bind those threads to 0x1, 0x2, 0x4, we still have the
> MPICH_ASYNC_PROGRESS running with affinity 0xf, and as far as I know,
> there is no way to bind it to 0x8.
> 
> It would be interesting to be able to specify this, both to place the
> progress threads close to NICs and to make sure that progress threads do
> not disrupt application threads (to reduce jitter and possibly improve
> performance).

There's no plan to support per-thread binding.  This requires mpich to
keep track of thread IDs, which AFAICT, we don't, unless I'm forgetting
some piece deep inside MPICH (Dave or Jim should correct me, if I'm wrong).

 -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji



More information about the discuss mailing list