[erlang-questions] "processor affinity" for processes
Thu Jan 10 15:24:43 CET 2008
Another usefull feature will be specifying CPU Affinity for ports and
external processes launched via os:cmd/1 .
My current workarround is to launch script whcih temporary changing CPU
affinity of the executable.
Vlad Dumitrescu-2 wrote:
> Thanks for the reply!
> On 4/12/07, Rickard Green <> wrote:
>> 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.
>> Rickard Green, Erlang/OTP, Ericsson AB.
>> > best regards,
>> > Vlad
>> > _______________________________________________
>> > erlang-questions mailing list
>> > http://www.erlang.org/mailman/listinfo/erlang-questions
> erlang-questions mailing list
View this message in context: http://www.nabble.com/%22processor-affinity%22-for-processes-tp9956818p14734902.html
Sent from the Erlang Questions mailing list archive at Nabble.com.
More information about the erlang-questions