Erlang and multi processors

Dan Gudmundsson dgud@REDACTED
Wed Jul 5 12:42:57 CEST 2000


Pekka Hedqvist (with Tony's help) did a multithreaded version as an
master thesis a couple of years ago.  But I assume the result wasn't
as good as expected, cause that code was never used.

/Dan

Samuel Tardieu writes:
 > >>>>> "Hakan" == Hakan Stenholm <etxhste@REDACTED> writes:
 > 
 > Hakan> How does Erlang deal with multi processor machines (i.e. more
 > Hakan> than one CPU in the same machine) ?  Does spawn/3 get
 > Hakan> distributed on the CPUs or is spawn/4 needed - one node per CPU
 > Hakan> which would imply that one Erlang VM is run per CPU (which
 > Hakan> seams a bit costly if one has many CPUs) ?
 > 
 > The beam VM runs in one system thread AFAIK, which means on one
 > processor at a time. You have to use multiple Erlang nodes, which will
 > hopefully be placed appropriately by the operating system.
 > 
 > Hakan> ps: how does one relpy to questions on the mailling list so
 > Hakan> that the answear appears on the list ? - mails to
 > Hakan> erlang-questions@REDACTED as well ?
 > 
 > Yup. Would you like a erlang-answers@REDACTED alias? :) (just
 > kidding)
 > 
 >   Sam
 > -- 
 > Samuel Tardieu -- sam@REDACTED





More information about the erlang-questions mailing list