[erlang-questions] OSX: binding schedulers to processor cores doesn't work
Tue Sep 18 00:38:57 CEST 2012
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.
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.
> 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?
>> erlang-questions mailing list
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions