[erlang-questions] Multiple core processors
Ulf Wiger (TN/EAB)
Tue Oct 3 11:24:36 CEST 2006
The "Big bang" benchmark, which has been used to test
the scalability of SMP Erlang in fact starts 1000 processes,
which then communicate in a broadcast fashion, each process
pinging every other process. In other words, it's not a
simple ring benchmark.(*)
This benchmark actually shows super-linear scalability,
in the sense that with N processors, you get better than
N times the speedup, compared to the single-CPU case.
This was discussed briefly in
(*) The standard ring benchmark is pretty serial, as Richark points out.
It also has the curious property that it is perfect for the current
"hybrid heap" implementation, since it copies the message only the first
time it's sent, and the ring benchmark typically passes the same message
around thousands of times. (:
Benchmarks are a tricky business...
> -----Original Message-----
> [mailto:] On Behalf Of
> Richard Carlsson
> Sent: den 3 oktober 2006 09:52
> Cc: Gerd Flaig
> Subject: Re: [erlang-questions] Multiple core processors
> Gerd Flaig wrote:
> > Cameron Kerr <> writes:
> >> And is there a benchmarking process/document/result for
> >> machines. I have an opportunity to use a Sun UltraSPARC
> T2000 running
> >> Solaris and Linux, and would like to get an idea of the likely
> >> performance metrics compared to classically threaded programs.
> > there has been some discussion about this in June:
> > 43
> There are also some benchmark results in the R11 release notes:
> > If I had to make a wild guess, I'd expect that the process ring
> > benchmark would scale almost linearly with the number of processors.
> Probably not, since the typical ring benchmark only has one
> active process at a time. If there were multiple messages
> being circulated simultaneously, things would be different.
> erlang-questions mailing list
More information about the erlang-questions