Subject: udp receive buffer overflow with many small packets
To: None <tech-net@netbsd.org>
From: Stuart Brooks <stuartb@cat.co.za>
List: tech-net
Date: 04/21/2005 14:27:01
I am experiencing udp buffer overflows when receiving large numbers of
small udp packets. In particular, if handling is blocked, only the first
164 get through, even though the receive buffer is sitting at 15kB (out
of a possible 40kB).  So obviously size is not the only constraint.

I was wondering if anyone knows of a kernel (or userland) option to
increase this number, I presume it has something to do with max mbufs
for a receive queue or something like that. I have had a quick look
through the various sysctls but nothing jumped out at me.

Any help would be appreciated.
 Stuart

Extra info:
 OS: Netbsd 1.6.1
 Arch: i386