[erlang-questions] "processor affinity" for processes

Rickard Green rickard.s.green@REDACTED
Thu Apr 12 15:00:32 CEST 2007


Vlad Dumitrescu wrote:
> Hi all,
> 
> I can't find anything about this, and I suppose it's because there is
> no such feature, but I wonder if it's possible to specify a "processor
> affinity" for processes when run with the SMP VM.
> 

There is no such feature.

> A use-case would be to dedicate one processor/core for trace handlers,
> loggers and other "peripheral" activities.
> 
> Or maybe it doesn't matter in practice?
> 

We have been talking about letting the emulator have more control over 
activities on the different cores, but this is still on the todo list. 
As it is today, the emulator creates X number of threads, and leave it 
up to the OS to distribute these threads over available cores.

BR,
Rickard Green, Erlang/OTP, Ericsson AB.

> best regards,
> Vlad
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
> 



More information about the erlang-questions mailing list