[rabbitmq-discuss] (no subject)

Marek Majkowski majek04 at gmail.com
Tue Dec 7 15:07:07 GMT 2010


On Tue, Dec 7, 2010 at 13:55, David ODonnell
<david.j.odonnell at hotmail.com> wrote:
> The average latency for RabbitMQ seems very high compared to the minimum.
> Are there any OS settings for Linux which could be set to improve those
> values?
> Latency would be critical for the application I am working on

Frankly speaking I have no idea. It might be JVM timing issues, it might
be bug in MulticastMain, or network latency. Or maybe even RabbitMQ latency.

We don't measure the latency in detail, as it's good enough
for the great majority of our users.

If you really really care about the latency, you should forget
the reliability - and that's not the use case for RabbitMQ.

Good example is 0MQ - you get really good latency,
but you get no reliability whatsoever.

Cheers,
  Marek


> Regards
> David
>
>
>> Date: Tue, 7 Dec 2010 11:59:48 +0000
>> Subject: Re: [rabbitmq-discuss] (no subject)
>> From: majek04 at gmail.com
>> To: david.j.odonnell at hotmail.com
>> CC: rabbitmq-discuss at lists.rabbitmq.com
>>
>> Over the gigabit network:
>>
>> $ ./runjava.sh com.rabbitmq.examples.MulticastMain -a -s 400 -r 15000
>> -h thehost
>> recving rate: 12918 msg/s, min/avg/max latency: 304/21486/66140
>> microseconds
>> sending rate: 15000 msg/s, basic returns: 0 ret/s
>> recving rate: 14990 msg/s, min/avg/max latency: 325/1140/2860 microseconds
>> sending rate: 14986 msg/s, basic returns: 0 ret/s
>> recving rate: 14997 msg/s, min/avg/max latency: 318/1237/9002 microseconds
>> sending rate: 15000 msg/s, basic returns: 0 ret/s
>> recving rate: 14992 msg/s, min/avg/max latency: 293/1337/10389
>> microseconds
>> sending rate: 15000 msg/s, basic returns: 0 ret/s
>> recving rate: 15002 msg/s, min/avg/max latency: 299/1327/5307 microseconds
>> sending rate: 15000 msg/s, basic returns: 0 ret/s
>> recving rate: 15007 msg/s, min/avg/max latency: 314/1193/3290 microseconds
>> sending rate: 15000 msg/s, basic returns: 0 ret/s
>>
>> On Tue, Dec 7, 2010 at 11:57, Marek Majkowski <majek04 at gmail.com> wrote:
>> > Ubuntu 10.10,
>> > cat /proc/cpuinfo
>> > model name      : Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz
>> >
>> > $ sh ./runjava.sh com.rabbitmq.examples.MulticastMain -a -s 4000 -r
>> > 10000
>> > recving rate: 10000 msg/s, min/avg/max latency: 214/858/6136
>> > microseconds
>> > sending rate: 10000 msg/s, basic returns: 0 ret/s
>> > recving rate: 10000 msg/s, min/avg/max latency: 207/857/3961
>> > microseconds
>> > sending rate: 9995 msg/s, basic returns: 0 ret/s
>> > recving rate: 9991 msg/s, min/avg/max latency: 182/955/5731 microseconds
>> > sending rate: 10000 msg/s, basic returns: 0 ret/s
>> >
>> > So, for localhost. Min: 0.2ms, avg: 0.8-0.9ms
>> >
>> > On Tue, Dec 7, 2010 at 11:53, David ODonnell
>> > <david.j.odonnell at hotmail.com> wrote:
>> >> Hi,
>> >> Thanks for the info.
>> >> Yeah ran that program previosly but was getting a minimum latency of
>> >> 7ms.
>> >> Has anyone got latencies <1m and if so what was their h/w setup ?
>> >> Thanks
>> >> David
>> >>
>> >> _______________________________________________
>> >> rabbitmq-discuss mailing list
>> >> rabbitmq-discuss at lists.rabbitmq.com
>> >> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>> >>
>> >>
>> >
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>


More information about the rabbitmq-discuss mailing list