<div dir="ltr">Will you post your erl command line for the Erlang node running the Rabbit Erlang client, on MacOS and Linux? I am curious to see the options you are using.<br>If you were able to post the code too, that would be interesting.<br>
<br><div class="gmail_quote">On Fri, Sep 26, 2008 at 2:37 PM, Bogon Choi <span dir="ltr"><<a href="mailto:bogon.choi@gmail.com">bogon.choi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
That was my mistake, though. The result is same.<br>
I am figuring out why two systems have huge latency gap. Thanks.<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
Martin Sustrik wrote:<br>
><br>
> I would say you are actually measuring how long printing of timestamp<br>
> takes rather than latency of RabbitMQ itself :)<br>
><br>
> Try to acquire timestamp first, then send the message then print the<br>
> timestamp.<br>
><br>
> Martin<br>
><br>
> Bogon Choi wrote:<br>
>> I tested very basic end-to-end latency of RabbitMQ 1.4.0 on Mac OS X<br>
>> Leopard<br>
>> and RHET Linux.<br>
>><br>
>> A publisher prints out a timestamp right before it publishes a message,<br>
>> and<br>
>> a subscriber receives the messages and prints out a timestamp. Every 3<br>
>> second one process published a 1KB message. This is the very basic and<br>
>> easy<br>
>> latency test I am always doing before I deploy systems.<br>
>><br>
>> But, the result was surprisingly comic.<br>
>><br>
>> Mac OS X Leopard: 4 milliseconds average latency from a publisher to a<br>
>> subscriber<br>
>> RHET5 Linux: 40.55 milliseconds average latency from a publisher to a<br>
>> subscriber<br>
>><br>
>> I am using Erlang R12B-4, and compiled it from "./configure" and "make".<br>
>> There was an error like a "JInterface" and "ODBC" stuffs at configuring<br>
>> from<br>
>> Linux. I just ignored it.<br>
>> All publisher, server, and subscriber were running at the same machine.<br>
>> So,<br>
>> we can ignore the network delay on this test.<br>
>><br>
>> I tried also from Ubuntu 8.1 and its latency was also 40.55 milliseconds.<br>
>> What is wrong with between Linux and Erlang?<br>
><br>
><br>
> _______________________________________________<br>
> rabbitmq-discuss mailing list<br>
> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
> <a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
><br>
><br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/Re%3A-Huge-latency-in-Linux%2C-compared-with-Leopard-tp19693265p19694142.html" target="_blank">http://www.nabble.com/Re%3A-Huge-latency-in-Linux%2C-compared-with-Leopard-tp19693265p19694142.html</a><br>
</font><div class="Ih2E3d">Sent from the RabbitMQ mailing list archive at Nabble.com.<br>
<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br>
</div></div></blockquote></div><br></div>