Scheduling on CMP
Tue Apr 18 19:36:46 CEST 2006
Thanks. I am really excited to see who well the multi-threaded erlang
machine works with multiple CPU cores.
On Tue, 18 Apr 2006 wrote:
> Lainaus "Hao, Ming" <>:
> > Sorry if this question has been asked. With multiple processors
> > available in a machine, can an erlang virtual machines schedule
> > processes to run on them? Or you have to run multiple erlang virtual
> > machines in order to do it? Thanks.
> The Erlang Virtual Machine is not yet multithreaded (except for asynchronous
> I/O), but there's development snapshot of multithreading Erlang Virtual Machine
> available at
> http://www.erlang.org/download/snapshots/otp_src_P11B_2006-02-26.tar.gz .
> Compile it with: ./configure --enable-smp-support --disable-lock-checking
> My initial experiences indicate that either it doesn't scale in Mnesia's bench
> or Mac OS X's Mach-microkernel holds it back. I've got some results from my Mac
> Mini Core Duo, but I run some more tests soon. My feeling is that it does scale
> quite nicely when there's no contention to ets (which Mnesia is based on) as
> Joe's & CO's experiments hints:
> From the list:
> > -ming
> Jani Launonen
More information about the erlang-questions