dummynet dropping too many packets

rihad rihad at mail.ru
Mon Oct 19 17:45:08 UTC 2009


Oleg Bulyzhin wrote:
> One more idea to check:
> 
> What happens if you rearrange your rules to shape 'in' packets?
> i.e. use 'in recv bce0' instead of 'out recv bce0 xmit bce1'.

Wow, shape incoming packets? That's a good one - the packets could still 
buffer up waiting to be output. I'm not sure this will eliminate 
burstiness (if it IS the problem), but I'll no doubt try this if current 
changes don't prove to be helpful. Currently we've been running running 
a "ifq_drv_maxlen = 4096;" kernel with HZ=4000 for a few hours, 0 drops 
so far with around 2700 entries in each of the two IPFW tables (no big 
surprise so far, we had this with maxlen=1024 too with under 3000 entries).


More information about the freebsd-net mailing list