Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] towards PLPA-like API in 1.0
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2009-11-11 11:34:30

I just pushed the PLPA stuff to trunk. One problem we have is that we
cannot the binding-capability in the PLPA-interface. The reason is that
PLPA wants to bind a thread given by a pid (ie do sched_setaffinity).
hwloc only has the ability to bind the current thread, or to bind an
entire process given by a pid. Would it make sense to add support for
the CPUBIND_THREAD policy in set_proc_cpubind? (and maybe rename it into
set_pid_cpubind, or add set_thread_pid_cpubind).