multi-core processors and erlang
Joe Armstrong (TN/EAB)
Thu Jul 20 11:15:50 CEST 2006
just think, when "other languages" (TM) have caught onto the idea
of "no sharing, no-locking, lightweight processes" they will be were
Erlang was twenty years ago :-)
Yes Erlang runs happily on multi core processors - drop your Erlang
program onto a multi core
and it *will* go faster, exactly how much faster depends upon the
dependencies between you parallel
processes. If they are all independent and CPU bound you'll probably run
K * N
times faster on an N core CPU. Say 16 times on a Sun Niagara.
<< K depends upon the Erlang implementation, it's currently about 0.5,
were hoping for 0.75,
the current implementation strategy emphasis stability over speed ...
Turning a sequential program into a parallel program is also really
really easy, for
example, I changed a single map to pmap (pmap is a parallel map
and the program went 7 times faster.
Multicore Erlang performance
> -----Original Message-----
> [mailto:] On Behalf Of Only
> Sent: den 20 juli 2006 10:52
> Subject: multi-core processors and erlang
> Does erlang take benefit of multi-core processors which are
> now available in desktop machines ?
> erlang supports concurrency and can definitely benefit from
> native support from multi-core processors.
> Is it a correct assumption or am I just too sleepy ?
More information about the erlang-questions