dummynet dropping too many packets

Julian Elischer julian at elischer.org
Mon Oct 5 18:54:49 UTC 2009


rihad wrote:
> Julian Elischer wrote:
>> rihad wrote:
>>> Julian Elischer wrote:
>>>> Luigi Rizzo wrote:
>>>>
>>>> Is it possible to know what sessions are losing packets?
>>>>
>>> Yes, of course, by running ipfw pipe show ;-)
>>> There's one confusing thing, though: net.inet.ip.dummynet.io_pkt_drop 
>>> isn't increasing while around 800-1000 packets per second are being 
>>> dropped right now. And so "ipfw pipe show" Drp column wouldn't grow 
>>> either. So it's either not dummynet dropping packets, or a bug (?).
>>
>>
>> I suspect your interface queues.
>>
> 
> You mean in hardware? Any way to tweak those?

no, there is (usually) a software queue before the hardware queue.

look at /sys/net/if_ethersubr.c




More information about the freebsd-net mailing list