[zeromq-dev] Inefficient TCP connection for my PUB-SUB zmq communication
Francesco
francesco.montorsi at gmail.com
Sun Mar 28 17:35:50 CEST 2021
Hi Kent,
Good post.
>
> I don't have any answers for you, but I look forward to seeing a reply
> from someone who does.
>
> Oh, I do have questions: What are the sizes of the data you are handing to
> zeromq?
>
My typical ZMQ messages are around 150-300bytes only.
> Is it chopping your data up into smaller pieces, or is it failing to
> coalesce small pieces into bigger packets?
>
The latter: I see ZMQ / TCP stack is faling to coalesce small pieces into
bigger packets
> Maybe zeromq has tension between latency and throughput, from when I last
> programmed zeromq I don't remember any tuning parameters for that, are
> there any? Does your kernel have a coalescing feature you could tweak into
> service?
>
The only one I could find is TCP_CORK... my problem is how to set it on the
ZMQ socket since zmq_setsockopt() does not expose it...
Thanks,
Francesco
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20210328/0cdd1825/attachment.htm>
More information about the zeromq-dev
mailing list