[zeromq-dev] Fwd: 0MQ fails when it goes through a switch

Dorvin dorvin at tlen.pl
Thu Apr 9 13:26:19 CEST 2015


W dniu 2015-04-05 o 09:55, Tony Pedley pisze:

> It is possible I have badly written the large data transfer part, but I
> would like to know why a switch would have an effect on TCP comms?
>
Switch receives frame and tries to forward it. But switch has some 
queues on each port. These queues are of finite size and if you try to 
send to much information in one frame then it might be dropped. Second 
thing is Ethernet standard defines max ethernet payload size to be 1500 
bytes. If you try to send more then it might not work. There are 
extensions to this standard which allow for bigger payloads (it's called 
jumbo frame) but you would have to check with switch documentation if 
your device supports that and how to enable it. There are also other 
options that might influence your traffic but embedded switches are 
usually dumb machines with little capabilities.

0MQ is supposed to handle large messages but I don't know why your 
switches complain. If you have this possibility try to check your code 
with enterprise-class switches and troubleshoot there. These switches 
will tell you far more about what's wrong with your code.


Cheers,
Jarek




More information about the zeromq-dev mailing list