--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There are many factors that affect latency. PerfTest has a reasonably detailed guideabout the options it supports, various workloads and test scenarios.100 bytes vs. 500 bytes is hardly a significant difference in message size and a singleshort run is not statistically significant.Try 100 bytes vs 5 megabytes or so, 10 or more runs (run results can be exported to CSVfor easier aggregation) and longer runs (several minutes or more if you are willing to wait).It's also worth mentioning that 1 publisher and 1 consumer will collectively use 2-3 cores [2].
On Sat, Jun 9, 2018 at 3:49 PM, Andrey Novikov <andrew.no...@yandex.ru> wrote:
Hi, all!
Help me understand the results of the performance test.
Results I am getting while running performance tests on RabbitMQ I cannot explain.
Using standard tool "com.rabbitmq.perf.PerfTest" I ran two simple commands, in which the only difference is the packet size (see screenshot).
I expected to get the lower latency for the smaller packet size but output shows that the large packet is the shorter latency is. Is this possible? What am I doing wrong?
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
try with the options listed here: https://www.rabbitmq.com/networking.html#tuning-for-throughput-tcp-buffers
Take a look at the "nodelay" option which is responsible for making sure that TCP packets don't get buffered up when the buffer doesn't reach a certain size - This option is disabled by default in the Linux kernel and you should leave it disabled with high traffic applications like a busy RabbitMQ server.
Best regards
Katie Holly
On 06/09/2018 02:49 PM, Andrey Novikov wrote:
> Hi, all!
>
> Help me understand the results of the performance test.
>
> Results I am getting while running performance tests on RabbitMQ I cannot explain.
>
> Using standard tool "com.rabbitmq.perf.PerfTest" I ran two simple commands, in which the only difference is the packet size (see screenshot).
>
> I expected to get the lower latency for the smaller packet size but output shows that the large packet is the shorter latency is. Is this possible? What am I doing wrong?
>
>
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com <mailto:rabbitmq-users+unsub...@googlegroups.com>.
> To post to this group, send email to rabbitmq-users@googlegroups.com <mailto:rabbitmq-users@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send an email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Most RabbitMQ clients and RabbitMQ itself disable Nagle's algorithm by default.
On Sat, Jun 9, 2018 at 9:04 PM, Katie Holly <jvc6...@meo.ws> wrote:
Hi,
try with the options listed here: https://www.rabbitmq.com/networking.html#tuning-for-throughput-tcp-buffers
Take a look at the "nodelay" option which is responsible for making sure that TCP packets don't get buffered up when the buffer doesn't reach a certain size - This option is disabled by default in the Linux kernel and you should leave it disabled with high traffic applications like a busy RabbitMQ server.
Best regards
Katie Holly
On 06/09/2018 02:49 PM, Andrey Novikov wrote:
> Hi, all!
>
> Help me understand the results of the performance test.
>
> Results I am getting while running performance tests on RabbitMQ I cannot explain.
>
> Using standard tool "com.rabbitmq.perf.PerfTest" I ran two simple commands, in which the only difference is the packet size (see screenshot).
>
> I expected to get the lower latency for the smaller packet size but output shows that the large packet is the shorter latency is. Is this possible? What am I doing wrong?
>
>
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com <mailto:rabbitmq-users+unsubscri...@googlegroups.com>.
> To post to this group, send email to rabbitm...@googlegroups.com <mailto:rabbitmq-users@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send an email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--MKStaff Software Engineer, Pivotal/RabbitMQ