Erlang and multi processors

Samuel Tardieu sam@REDACTED
Wed Jul 5 12:37:15 CEST 2000

>>>>> "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

Samuel Tardieu -- sam@REDACTED

More information about the erlang-questions mailing list