ÎλÎξανδÏÎ¿Ï Î Î±ÏαδογιαννάκηÏ, le Wed 16 Jun 2010 15:37:34 +0300, a écrit :
> The program uses hwloc_set_thread_cpubind() to bind some threads to specific
> cpus
> but now it doesn't work. hwloc_set_thread_cpubind() returns zero but doesn't
> bind
> the thread.
This looks to me like a glibc or kernel bug. Could you check with strace
that a sched_setaffinity system call gets performed, and the returned
value?
> The problem is that when I call hwloc_set_thread_cpubind() the threads
> are waiting on a posix barrier.
That shouldn't be a problem.
Samuel
|