On 2020-07-31, Ivo Chutkin <open...@bgone.net> wrote: > Hello guys, > > Thanks for suggestions. > > Tweacking sysctl > > net.inet.udp.recvspace=131072 > net.inet.udp.sendspace=131072 > > solved the problem. > > Test between routers that started to drop packets over 10Mbit, now run > test at 100Mbit with less than 1% drops (over 50% before).
net.inet.udp.recvspace and net.inet.udp.sendspace only affect traffic generated on a machine itself, they do not affect forwarded traffic. Generating packets on the router itself isn't a good test for how well they can forward packets.