Subject: Re: udp receive buffer overflow with many small packets
To: None <tech-net@netbsd.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: tech-net
Date: 04/21/2005 16:42:08
On 21.04-14:27, Stuart Brooks wrote:
> 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.
> 

This looks like the same problem I had back in February 2004:

  http://mail-index.netbsd.org/tech-net/2004/02/09/0000.html

I wasn't able to solve this myself and noone of the kernel gurus seemed
to see a problem with this behaviour, so I just adapted my application
to pace the sending (I mean, I introduced small pauses in between the
individual packets).

Chris

-- 
----------------------------------------------------------------------
Christoph Kaegi                                           kgc@zhwin.ch
----------------------------------------------------------------------