[erlang-questions] SMP support in OpenBSD

Raimo Niskanen raimo+erlang-questions@REDACTED
Wed Aug 12 09:19:33 CEST 2009


On Fri, Aug 07, 2009 at 11:20:56PM +0400, Nikolay Epifanov wrote:
> Hi,
> 
> I couldn't find any clear answer to whether Erlang supports SMP in OpenBSD
> or not.
> On starting it prints:
> 
> $ erl
> Erlang R13B01 (erts-5.7.2) [source] [64-bit] [smp:4:4] [rq:4]
> [async-threads:0] [kernel-poll:false]
> 
> Eshell V5.7.2  (abort with ^G)
> 1>
> 
> But when I run test program only one beam.smp is started and maximum cpu
> load I can get is 100% total. It can be as a sum of load of 2 cores (for
> example 72% on one of them and 28% on the other) or 100% on a one core only
> leaving 3 other idle. Load jumps from on core to another but in total it
> keeps under 100%. Running erl with "-smp enable" and/or various "+S" didn't
> change anything.
> 
> Is SMP supported in OpenBSD? And if not: is it planned to implement it?

Put pressure on the OpenBSD folks:
http://www.erlang.org/cgi-bin/ezmlm-cgi/4/45020

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB


More information about the erlang-questions mailing list