From owner-freebsd-hackers Sun Jun 9 3:17:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by hub.freebsd.org (Postfix) with SMTP id A2BDE37B415 for ; Sun, 9 Jun 2002 03:17:31 -0700 (PDT) Received: (qmail 84907 invoked from network); 9 Jun 2002 10:16:58 -0000 Received: from unknown (HELO pipeline.ch) ([195.134.148.7]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 9 Jun 2002 10:16:58 -0000 Message-ID: <3D032AE7.8B8CB2A@pipeline.ch> Date: Sun, 09 Jun 2002 12:16:07 +0200 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Terry Lambert Cc: Andy Sparrow , Larry Rosenman , freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: MIB support for network devices in FreeBSD? References: <20020609035146.55A8F3E2D@CRWdog.demon.co.uk> <3D02E7F4.432854D0@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 , 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