64-bit SNMP counters for FreeBSD && graphing bandwidth usage

Harti Brandt hartmut.brandt at dlr.de
Tue Feb 14 01:29:01 PST 2006


On Tue, 14 Feb 2006, Oleg Polyakov wrote:

OP>--- Gleb Smirnoff <glebius at FreeBSD.org> wrote:
OP>
OP>> On Tue, Feb 14, 2006 at 09:39:00AM +0100, Harti Brandt wrote:
OP>> H> AN>I changed port to 163 cause I am actually using net-snmp snmpd on port
OP>> H> AN>161 still. Anyway, it seems bsnmpd insists these are 10 mbps
OP>> interfaces?
OP>> H> AN>Why so?
OP>> H> 
OP>> H> The driver reports a speed of 10Mbits/sec. ifHighSpeed is ifi_baudrate 
OP>> H> divided by 10^6 (and rounded). This is the default set by ether_ifattach()
OP>> 
OP>> H> if the driver did not set another value. It seems that bge never sets that
OP>> 
OP>> H> value so you end up with the default. This looks like a bug.
OP>> 
OP>> Harti, we are thinking in parallel :)
OP>
OP>Parallel, yes ;)

Wow! Seems the massive introduction of dual-core CPUs and multiprocessor 
machines starts to give results :-) And all that without mutexes and 
locks.

harti


More information about the freebsd-net mailing list