[zeromq-dev] inproc seems to be rather slow

Brian Knox briank at talksum.com
Fri Apr 27 17:32:57 CEST 2012


Here are my results:

[laotse at moneta perf]$ ./inproc_lat 1024 100000
message size: 1024 [B]
roundtrip count: 100000
average latency: 13.333 [us]

Try sending more than one message.

I haven't looked at the performance test code but my guess is that it is
measuring some of the test setup time in it's measurements.

Brian


On Fri, Apr 27, 2012 at 7:08 AM, Doherty, Kevin <Kevin.Doherty at mlp.com>wrote:

> On a fairly decent  Linux box
> These performance number don't look so good.
> The test program that comes with the package below uses REQ/REP.
> Also similar slowness with a PUSH/PULL socket.
> $ pwd
> zeromq-2.1.11/perf
>
> ././inproc_lat 1 1
> message size: 1 [B]
> roundtrip count: 1
> average latency: 151.500 [us]
> $ ././inproc_lat 1 1
> message size: 1 [B]
> roundtrip count: 1
> average latency: 116.000 [us]
> $ ././inproc_lat 1 1
> message size: 1 [B]
> roundtrip count: 1
> average latency: 84.500 [us]
> $ ././inproc_lat 1 1
> message size: 1 [B]
> roundtrip count: 1
> average latency: 53.500 [us]
> $ ././inproc_lat 1 1
> message size: 1 [B]
> roundtrip count: 1
> average latency: 49.500 [us]
>
>
> ######################################################################
> The information contained in this communication is confidential and
> may contain information that is privileged or exempt from disclosure
> under applicable law. If you are not a named addressee, please notify
> the sender immediately and delete this email from your system.
> If you have received this communication, and are not a named
> recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited.
> ######################################################################
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120427/07be671a/attachment.htm>


More information about the zeromq-dev mailing list