[rabbitmq-discuss] 答复: Odd performance testing result

Huang Tonglang tlhuang at 800best.com
Sun Jan 26 03:33:16 GMT 2014

1. I just test with a simple java client. 5 producer and 10 consumer for each of five queues,and ACK is on. 
2.The average message size is 1K.
3.4, I can see the ready messages are always 0
5. output of ps aux | grep beam: 
rabbitmq  3454 13.5  1.9 4694376 389988 ?      Sl   Jan21 957:54 /usr/local/lib/erlang/erts-5.10.4/bin/beam.smp -W w -K true -A30 -P 1048576 -- -root /usr/local/lib/erlang -progname erl -- -home /home/rabbitmq -- -pa /usr/local/sbin/../ebin -noshell -noinput -s rabbit boot -sname rabbit at rabbitmq-test -boot start_sasl -config /etc/rabbitmq/rabbitmq -kernel inet_default_connect_options [{nodelay,true}] -sasl errlog_type error -sasl sasl_error_logger false -rabbit error_logger {file,"/var/log/rabbitmq/rabbit at rabbitmq-test.log"} -rabbit sasl_error_logger {file,"/var/log/rabbitmq/rabbit at rabbitmq-test-sasl.log"} -rabbit enabled_plugins_file "/etc/rabbitmq/enabled_plugins" -rabbit plugins_dir "/usr/local/sbin/../plugins" -rabbit plugins_expand_dir "/data1/rabbitmq/mnesia/rabbit at rabbitmq-test-plugins-expand" -os_mon start_cpu_sup false -os_mon start_disksup false -os_mon start_memsup false -mnesia dir "/data1/rabbitmq/mnesia/rabbit at rabbitmq-test" -noshell -noinput
rabbitmq 21489  0.0  0.0 103240   868 pts/0    S+   11:31   0:00 grep beam
Another observation is producer connection is under flow control.

Thank you

Tonglang Huang

发件人: rabbitmq-discuss [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] 代表 Michael Klishin
发送时间: 2014年1月24日 17:16
收件人: Discussions about RabbitMQ
主题: Re: [rabbitmq-discuss] Odd performance testing result

On 24 Jan 2014, at 11:38, Michael Klishin <mklishin at gopivotal.com> wrote:

> If you have 50 or even 90 cores and want to achieve max throughput, use more queues (e.g. as many as you have cores).

Oops, I did not notice the # of cores in your table.

Can you clarify a few things?

 * How do you run your benchmarks. Do you use PerfTest [1]?
 * What’s the average message size?
 * Are you sure messages are always routed?
 * Do you see messages piling up in the queues?
 * Can you post ps aux | grep beam output? (this will display Erlang VM flags)

1. http://www.rabbitmq.com/java-tools.html

Software Engineer, Pivotal/RabbitMQ

rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com

More information about the rabbitmq-discuss mailing list