Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jun 2002 12:16:07 +0200
From:      Andre Oppermann <oppermann@pipeline.ch>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Andy Sparrow <spadger@best.com>, Larry Rosenman <ler@lerctr.org>, freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: MIB support for network devices in FreeBSD?
Message-ID:  <3D032AE7.8B8CB2A@pipeline.ch>
References:  <20020609035146.55A8F3E2D@CRWdog.demon.co.uk> <3D02E7F4.432854D0@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote:
> 
> Andy Sparrow wrote:
> > But these stats don't seem to be collected for at least some network card
> > drivers, presumably because those drivers aren't collecting those stats, e.g.
> > they don't #include <net/if_mib.h>, and thus don't allocate a mib structure or
> > increment any counters in that structure.
> >
> > I can confirm that it definately doesn't work for the 'wi' and 'lo' drivers...
> >
> > However, it definately seems to work for the xl driver...
> 
> Benchmark the driver.
> 
> If it's fast, it doesn't collect the statistics.

Come on, this is bullshit. whatever++ hardly makes any difference.
There are other places where way more cycles are wasted for less.

-- 
Andre


> Just like "WITNESS": if your machine is fast, "WITNESS" is disabled.
> 
> 8-).
> 
> Bascially, most of these statistics are "manager fluff" (as opposed
> to "seat cushion fluuf" or "pocket fluff").
> 
> What you want is statistics that are managed universally; see
> "netstat -ibdt" for the usefult statistics kept per interface.
> 
> -- Terry
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D032AE7.8B8CB2A>