[rabbitmq-discuss] Building Erlang for RabbitMQ

Dmitriy Samovskiy dmitriy.samovskiy at cohesiveft.com
Fri Feb 8 19:45:01 GMT 2008


Hi Tony,

Tony Garnock-Jones wrote:
>> Could you please recommend ./configure options for building Erlang R11B-5.
> 
> I've really only ever tried "./configure --prefix=/opt/erlang", on my
> Mac. Otherwise I use the stock Debian packages or Windows binaries.
> 
>> I noticed erl in your session reports "Erlang (BEAM) emulator version
>> 5.5.5 [source] [async-threads:30] [kernel-poll:true]", and mine says
>> "Erlang (BEAM) emulator version 5.5.5 [source] [async-threads:0] [hipe]
>> [kernel-poll:false]".  Are these differences significant? I built with
>> "--prefix=/usr --disable-x".
> 
> The differences are interesting. The async-threads were something we
> enabled to reduce the impact of blocking system calls for workloads
> involving persistent messages, but since it's only a minor tweak for
> performance enhancement in one case, it shouldn't matter if it's not
> there usually.
> 
I also use Debian. I found that I can make my erl behave more like one from your session 
by calling it as "erl +K true +A 30" and rebuilding it with --disable-hipe. I will stick 
with your defaults since I am new to Erlang. Please let us know if you find better 
optimizations for running rabbitmq brokers.

Thanks for the explanation!

Dmitriy




More information about the rabbitmq-discuss mailing list