Advantages of a large number of threads cf other approaches?

Miguel Barreiro enano@REDACTED
Wed Feb 18 19:48:00 CET 2004

> One reason Erlang runs so well (and any other very tight user space
> implementation) is they can eliminate all of the memory overheads, making an
> entire process fit into just a cache line or two in the processor's data cache.
> When an entire Erlang process can get swapped in by just one or two memory
> loads, and has no TLB miss penalties, etc, life can be very, very good.

On the other hand, the beam runtime is amazingly fast on processors with a
large cache. I'm trying to gather some benchmark data on such systems, and
will report.

More information about the erlang-questions mailing list