Eric, thanks. Increasing wmem_default from 229376 to 2293760 indeed makes the issue go away on my test bench. What's a good way to determine the optimal value here? I assume this is in bytes and needs to be large enough so that the SO_SNDBUF doesn't fill up before the kernel drops the packets. How often does that happen?
On Thu, May 16, 2019 at 12:14 PM Eric Dumazet <eric.duma...@gmail.com> wrote: > > > > On 5/16/19 9:05 AM, Eric Dumazet wrote: > > > We probably should add a ttl on arp queues. > > > > neigh_probe() could do that quite easily. > > > > Adam, all you need to do is to increase UDP socket sndbuf. > > Either by increasing /proc/sys/net/core/wmem_default > > or using setsockopt( ... SO_SNDBUF ... ) >