Subject: Re: Measuring dropped packets
To: None <tech-net@netbsd.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: tech-net
Date: 10/26/2006 16:35:22
On 26.10-16:19, Christoph Kaegi wrote:
> ---------------------------- 8< ----------------------------
> # netstat -q
> arpintrq:
>         queue length: 0
>         maximum queue length: 50
>         packets dropped: 826
> ipintrq:
>         queue length: 0
>         maximum queue length: 256
>         packets dropped: 91897332
> ---------------------------- 8< ----------------------------

sysctl seems to report this number also:

---------------------------- 8< ----------------------------
# sysctl -a |grep -i ifq 
net.inet.ip.ifq.len = 0
net.inet.ip.ifq.maxlen = 256
net.inet.ip.ifq.drops = 91897332
---------------------------- 8< ----------------------------

The options(4) manpage says the default is 50. Isn't this
correct anymore? Should I send-pr this?

I tried 

# sysctl -w net.inet.ip.ifq.maxlen=512

I'll watch if this helps now.

Thanks
Chris

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