Erlang and multi processors
Thu Jul 6 23:34:20 CEST 2000
Not true, the results were in, short quite, good but the prototype
were a prototype and also contained some design decisions that
had to be rethought and reimplemented too. But in the end it was
primarily lack of resources why there is no industrial quality
MP Erlang today.
Dan Gudmundsson writes:
> 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.
> Samuel Tardieu writes:
> > >>>>> "Hakan" == Hakan Stenholm <> 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> as well ?
> > Yup. Would you like a alias? :) (just
> > kidding)
> > Sam
> > --
> > Samuel Tardieu --
More information about the erlang-questions