Design phase in Erlang

Ulf Wiger <>
Mon Dec 9 18:30:37 CET 2002

On Fri, 6 Dec 2002, Vance Shipley wrote:

>Just for fun I tried out this test on an UltraSparc 5
>running Solaris 8 and R9B-0.  I found that it started
>paging at about 70K processes with 256MB of memory so I
>upgraded it to 512MB and found I could go to 180K processes
>before it paged.
>$ erl +P 262144 +A 32
>Erlang (BEAM) emulator version 5.2 [64-bit] [source] [threads:32]

I couldn't resist running a similar test on my workstation.
I eventually dared going all the way to 260,000 processes,
and found that the cost of spawning and sending messages
remained constant all the way -- on my machine (a 440 MHz
UltraSPARC), about 16 us/spawn, and 3-4 us/send.

The Erlang VM grew up to about 320 MB.

This is very satisfying.  (= (= (=

Ulf Wiger, Senior Specialist,
   / / /   Architecture & Design of Carrier-Class Software
  / / /    Strategic Product & System Management
 / / /     Ericsson Telecom AB, ATM Multiservice Networks

More information about the erlang-questions mailing list