From owner-freebsd-net@FreeBSD.ORG Tue Dec 16 17:18:20 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9731A1065678 for ; Tue, 16 Dec 2008 17:18:20 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp-1.dlr.de (smtp-1.dlr.de [195.37.61.185]) by mx1.freebsd.org (Postfix) with ESMTP id 2F8A58FC14 for ; Tue, 16 Dec 2008 17:18:19 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from beagle.kn.op.dlr.de ([129.247.178.136]) by smtp-1.dlr.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Tue, 16 Dec 2008 18:18:17 +0100 Date: Tue, 16 Dec 2008 18:20:09 +0100 (CET) From: Harti Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: Sergey Matveychuk In-Reply-To: <4947D7A9.2050407@FreeBSD.org> Message-ID: <20081216181850.O74416@beagle.kn.op.dlr.de> References: <4947D7A9.2050407@FreeBSD.org> X-OpenPGP-Key: harti@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 16 Dec 2008 17:18:17.0857 (UTC) FILETIME=[4975D710:01C95FA2] Cc: freebsd-net@freebsd.org Subject: Re: bsnmpd & 64bits counters problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Harti Brandt List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 17:18:20 -0000 On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SM>Hello. SM> SM>Some weird thing has happened with 64bit counters: SM> SM>% snmpwalk -v2c -cpublic localhost ifInOctets SM>IF-MIB::ifInOctets.1 = Counter32: 4107815474 SM>... SM>IF-MIB::ifInOctets.16 = Counter32: 2894713654 SM> SM>% snmpwalk -v2c -cpublic localhost ifHCInOctets SM>IF-MIB::ifHCInOctets.1 = Counter64: 7911064279758 SM>... SM>IF-MIB::ifHCInOctets.4 = Counter64: 13143091216588 SM> SM>There are all 16 32bits counters but only 4 64bits. That's less than physical SM>interfaces on this router (em0-em5). SM> SM>7.1-PRERELEASE The highspeed counters are only there if this is a high-speed interface. High speed means that the baudrate in the interface MIB (the one in the kernel) must be larger than 20Mbaud. harti