big slowdown with shared-heap

Nicolas Niclausse <>
Wed Feb 12 15:34:50 CET 2003


Hello,

I'm doing some experiments with a load testing tool, simulating lot's of
http clients.

When I use it with erlang-R9B-0 compiled with --enable-shared-heap,
I can reach a maximum of ~270 req/s (on a Pentium3 800Mhz processor)

Without --enable-shared-heap, i have reached 450 req/s

So my question is: is this a bug or does the shared-heap's not well
suited for this kind of load ? (currently, i have 2 erlang processes per
simulated http user; one sending requests, and the other one parsing the
responses from the server)

I both case, erlang was compiled with --threads and --hipe (on a linux
system)

I also tried to compile my sources with the '+native' option (with or
without shared-heap), but the results are a bit slower ...

-- 
Nicolas NICLAUSSE                       IDEALX S.A.S.
Tél:01 44 42 00 00                      http://IDEALX.com/



More information about the erlang-questions mailing list