[zeromq-dev] Limited UDP Message Size

Stephan Opfer opfer at vs.uni-kassel.de
Sun Jan 12 22:41:39 CET 2020


Ah okay. I read some posts about MTU and fragmentation. So in theory  
2^16= 65536 Bytes should be possible, but not all nodes will accept such 
large UDP packets and support the fragmentation of it?

FYI: My use case is that of a local network (IOT + Autonomous Robots) 
and increasing the size would help me. :)

On 12.01.20 13:25, Doron Somech wrote:
> We can increase it to around 65,000 bytes, however, large UDP packets 
> would probably be dropped when traveling outside your local area network.
> The safe size for the UDP packet to travel outside of the local area 
> network is around 500 bytes.
> If you do want to use large UDP packets on your local area network you 
> might want to increase the network MTU (jumbo frames) for better delivery.
>
> For example, some AWS instances support 9001 bytes MTU for 
> inter-instance communication.
>
>
> On Fri, Jan 10, 2020 at 3:25 PM Stephan Opfer <opfer at vs.uni-kassel.de 
> <mailto:opfer at vs.uni-kassel.de>> wrote:
>
>     Hi all,
>
>     since 2016 there is this issue
>     (https://github.com/zeromq/libzmq/issues/2009) about some
>     limitations of
>     the udp_engine in libzmq.
>
>     Is it possible that someone at least will increase the "#define
>     MAX_UDP_MSG 8192" in libzmq/src/udp_engine.hpp to some reasonable
>     value?
>     For example "ZMQ_MAX_MSGSZ" from the zmq context option, which is
>     MAX_INT.
>
>     Maybe, someone could spare some time at the Hackathon... ;-)
>
>     Greetings,
>
>        Stephan
>
>     -- 
>     Distributed Systems Research Group
>     Stephan Opfer  T. +49 561 804-6279  F. +49 561 804-6277
>     Univ. Kassel,  FB 16,  Wilhelmshöher Allee 73,  D-34121 Kassel
>     WWW: http://www.uni-kassel.de/go/vs_stephan-opfer/
>
>     _______________________________________________
>     zeromq-dev mailing list
>     zeromq-dev at lists.zeromq.org <mailto:zeromq-dev at lists.zeromq.org>
>     https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev

-- 
Distributed Systems Research Group
Stephan Opfer  T. +49 561 804-6279  F. +49 561 804-6277
Univ. Kassel,  FB 16,  Wilhelmshöher Allee 73,  D-34121 Kassel
WWW: http://www.uni-kassel.de/go/vs_stephan-opfer/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20200112/3091b84f/attachment.htm>


More information about the zeromq-dev mailing list