Re:Why do UDP packets get dropped?
by AstralStorm on Wednesday August 31, 2016 @12:49PM
(#12399674)
Counter-counter moral: detect Jumbo packets and use them. Except maybe still not over general Internet.
Modern OSes have a thing called black-hole detection, it is a good idea to have something similar in your protocol running on top of UDP.
The extra pain is that even though the huge datagram is lost, almost all of its data is transmitted. So you have a congested line and you are hammering it extra hard by resending the same data over and over.
Moral: unless you can guarantee low IP packet loss rates across the entire route, be very careful about large UDP packets.
Counter moral: I built a very nice VPN over TCP solution for a customer who insisted 10% packet drop on their network was fine. Completely fixed their large UDP packet based legacy system… which I had designed a decade before.