|
|
| Author |
Message |
|
| Guest |
Posted: Fri Sep 14, 2007 11:31 am |
|
|
|
Guest
|
Hi all,
I've been running some tests on RabbitMQ and I noticed during my first
few runs that the broker was only using one processor on a 4-processor
machine. After a bit of research I found the "-smp" switch for erl, and
setting this did seem to have the correct effect. My question is, is
there some reason that SMP support is not enabled in the default
scripts provided with RabbitMQ? Is there anything I need to be careful
about when enabling this?
Thanks,
--
Jodi Moran
Distributed Systems Engineer
Frameworks Team
Office: +44 20 8834 6397
Betfair. A Different Kind of Betting Company.
Please consider the environment before printing
Betfair Limited | Winslow Road | Hammersmith Embankment | London | W6
9HP
Registered in England and Wales under company number 5140986
The information in this e-mail and any attachment is confidential and is
intended only for the named recipient(s). The e-mail may not be
disclosed or used by any person other than the addressee, nor may it be
copied in any way. If you are not a named recipient please notify the
sender immediately and delete any copies of this message. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden. Any view or opinions presented are solely
those of the author and do not necessarily represent those of the
company. Betfair (r) and the BETFAIR LOGO are registered trade marks of
The Sporting Exchange Limited.
________________________________________________________________________
In order to protect our email recipients, Betfair Group use SkyScan from
MessageLabs to scan all Incoming and Outgoing mail for viruses.
________________________________________________________________________
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri Sep 14, 2007 11:54 am |
|
|
|
Guest
|
Jodi,
Jodi Moran wrote:
> I've been running some tests on RabbitMQ and I noticed during my first
> few runs that the broker was only using one processor on a 4-processor
> machine. After a bit of research I found the "-smp" switch for erl, and
> setting this did seem to have the correct effect. My question is, is
> there some reason that SMP support is not enabled in the default
> scripts provided with RabbitMQ? Is there anything I need to be careful
> about when enabling this?
Our (very limited) tests showed RabbitMQ performing worse when running
with SMP support enabled. So currently we advise people to utilise
multiple cores by running several RabbitMQ nodes in a cluster, with one
node per core.
Clearly that is unsatisfactory, but we haven't had the time so far to
investigate this further.
If you are running some tests with SMP support enabled we'd be keen to
hear the results and how they compare to a) single-node non-smp, b)
clustered multi-node non-smp.
Matthias.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri Sep 14, 2007 2:38 pm |
|
|
|
Guest
|
Hi Matthias,
Thanks for your reply.
> Our (very limited) tests showed RabbitMQ performing worse when running
> with SMP support enabled. So currently we advise people to utilise
> multiple cores by running several RabbitMQ nodes in a cluster, with
one
> node per core.
Do you have any advice on how to (easily) set up such a configuration?
Trying to start multiple nodes on the same machine using only different
node names fails because each node tries to bind to the same port
(5672), which seems to be defined in ebin/rabbit.app. Since I am not
familiar with Erlang, it's not clear to me how I pass a different value
for the port when starting the node.
Thanks,
--
Jodi Moran
Distributed Systems Engineer
Frameworks Team
Office: +44 20 8834 6397
Betfair. A Different Kind of Betting Company.
Please consider the environment before printing
Betfair Limited | Winslow Road | Hammersmith Embankment | London | W6
9HP
Registered in England and Wales under company number 5140986
The information in this e-mail and any attachment is confidential and is
intended only for the named recipient(s). The e-mail may not be
disclosed or used by any person other than the addressee, nor may it be
copied in any way. If you are not a named recipient please notify the
sender immediately and delete any copies of this message. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden. Any view or opinions presented are solely
those of the author and do not necessarily represent those of the
company. Betfair ® and the BETFAIR LOGO are registered trade marks of
The Sporting Exchange Limited.
________________________________________________________________________
In order to protect our email recipients, Betfair Group use SkyScan from
MessageLabs to scan all Incoming and Outgoing mail for viruses.
________________________________________________________________________
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sun Sep 16, 2007 3:38 am |
|
|
|
Guest
|
Jodi,
Jodi Moran wrote:
> Trying to start multiple nodes on the same machine using only different
> node names fails because each node tries to bind to the same port
> (5672), which seems to be defined in ebin/rabbit.app. Since I am not
> familiar with Erlang, it's not clear to me how I pass a different value
> for the port when starting the node.
To change the RabbitMQ's listening port(s), add
-rabbit tcp_listeners '[{"0.0.0.0", 5673}]'
or similar to the RabbitMQ command line.
One place to do that is in the rabbitmq-server startup scripts. Either
create one copy for each node or parameterise the script with an
environment variable.
I'll add this info to our documentation.
Matthias.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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
|
|
|