[erlang-questions] OSX: binding schedulers to processor cores doesn't work
Zabrane Mickael
zabrane3@REDACTED
Tue Sep 18 00:38:57 CEST 2012
Hi Richard,
Spent time looking for "set_affinity" equivalent on OSX today.
Referring to this (page 3) http://images.apple.com/media/us/osx/2012/docs/OSX_for_UNIX_Users_TB_July2011.pdf
it looks like OSX' scheduler (Snow, Lion, Mountain) still doesn't implement processor affinity for processes nor threads.
Grrrrrrr !
Regards,
Zabrane
On Sep 16, 2012, at 8:44 PM, Rickard Green wrote:
> Binding of schedulers has never been supported on MacOSX. I've not put much effort into it, but when I last looked into it (a long time ago) I couldn't find any functionality in MacOSX that could be used for this. This might have changed, thought. If you want to look into it, a patch implementing this is welcome.
>
> Regards,
> Rickard Green, Erlang/OTP, Ericsson AB
>
> On Sep 16, 2012, at 12:00 PM, Zabrane Mickael wrote:
>
>> Hi guys,
>>
>> Trying to bind schedulers to processor cores simply fail on my MacOSX (10.7.4) using R15B01 and R15B02:
>> $ erl +sbt db
>> setting scheduler bind type 'db' failed: not supported
>> [...]
>>
>> All other binding options failed too. Why?
>>
>> How one can use "+sbt db", now that the call to "erlang:system_flag(scheduler_bind_type,default_bind)" is deprecated?
>>
>> Regards,
>> Zabrane
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120918/b5e9912f/attachment.htm>
More information about the erlang-questions
mailing list