Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  Building Erlang for RabbitMQ

Guest
Posted: Wed Feb 06, 2008 5:46 pm Reply with quote
Guest
Hi Tony,

Could you please recommend ./configure options for building Erlang R11B-5.

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".

BTW, Erlang R12B-1 is out today (Feb 6).

Thanks,
Dmitriy



Tony Garnock-Jones wrote:
> Hi all,
>
> I
tonyg
Posted: Fri Feb 08, 2008 3:02 pm Reply with quote
User Joined: 07 Nov 2006 Posts: 199
Hi Dmitriy,

Dmitriy Samovskiy 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.

The kernel-poll thing is I think an extension for more efficient IO
eventing from the kernel. Only a few operating systems support it.

What kind of platform are you building Erlang on?

> BTW, Erlang R12B-1 is out today (Feb 6).

Thanks for the tip! I'm looking forward to experimenting with it; for
now, we're still recommending R11B-5.

Regards,
Tony
--
[][][] Tony Garnock-Jones | Mob: +44 (0)7905 974 211
[][] LShift Ltd | Tel: +44 (0)20 7729 7060
[] [] http://www.lshift.net/ | Email: tonyg@lshift.net

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
View user's profile Send private message MSN Messenger
Guest
Posted: Fri Feb 08, 2008 7:45 pm Reply with quote
Guest
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

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum