[erlang-questions] "processor affinity" for processes
Zvi
exta7@REDACTED
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.
Zvi
Vlad Dumitrescu-2 wrote:
>
> Thanks for the reply!
>
> regards,
> Vlad
>
> On 4/12/07, Rickard Green <rickard.s.green@REDACTED> 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.
>>
>> 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
>> >
>>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
>
--
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
mailing list