[erlang-questions] OSX: binding schedulers to processor cores doesn't work

Rickard Green <>
Sun Sep 16 20:44:35 CEST 2012


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
> 
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list