Subject: Re: Measuring dropped packets
To: None <tech-net@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-net
Date: 10/26/2006 20:24:37
On Thu, Oct 26, 2006 at 04:35:22PM +0200, Christoph Kaegi wrote:
> 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.
I would sent it even larger. If you have several wm(4) cards, I think
you should make this at last 256 * the number of adapters.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--