On Jul 24, 2012, at 1:55 PM, Jed Brown wrote:

> On Tue, Jul 24, 2012 at 1:44 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> For now you could simply turn off setting affinities when only a single 
> thread is requested.
> 
> Longer term, I think we want to use CPU_COUNT, then use CPU_ISSET to fill in 
> the current set. Then we'll partition that set among the threads in the pool. 
> That's what I meant by "inherit" the process affinity. We should never be 
> doing CPU_ZERO and adding in counting from zero.

    True

    But how do you know what cores the other processes on the machine are 
using? Couldn't they be anything?

   Barry


Reply via email to