From owner-freebsd-arch Wed Dec 26 7:41: 3 2001 Delivered-To: freebsd-arch@freebsd.org Received: from po4.wam.umd.edu (po4.wam.umd.edu [128.8.10.166]) by hub.freebsd.org (Postfix) with ESMTP id F15D737B416; Wed, 26 Dec 2001 07:40:58 -0800 (PST) Received: from rac1.wam.umd.edu (IDENT:root@rac1.wam.umd.edu [128.8.10.141]) by po4.wam.umd.edu (8.9.3/8.9.3) with ESMTP id KAA23883; Wed, 26 Dec 2001 10:40:57 -0500 (EST) Received: from rac1.wam.umd.edu (IDENT:sendmail@localhost [127.0.0.1]) by rac1.wam.umd.edu (8.9.3/8.9.3) with SMTP id KAA13933; Wed, 26 Dec 2001 10:40:56 -0500 (EST) Received: from localhost (culverk@localhost) by rac1.wam.umd.edu (8.9.3/8.9.3) with ESMTP id KAA13929; Wed, 26 Dec 2001 10:40:56 -0500 (EST) X-Authentication-Warning: rac1.wam.umd.edu: culverk owned process doing -bs Date: Wed, 26 Dec 2001 10:40:56 -0500 (EST) From: Kenneth Wayne Culver To: "James E. Housley" Cc: Michal Mertl , arch@FreeBSD.ORG Subject: Re: 64 bit counters In-Reply-To: <3C29D449.7EC7EFCF@FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG SNMP shouldn't have a problem, especially if rfc 2233 (interfaces mib) is implemented. This mib calls for 64-bit counters in many cases anyway. For cases that don't need 64-bit counters, a simple typecast to a u_long works fine, saving the lower 32 bits. Ken On Wed, 26 Dec 2001, James E. Housley wrote: > Michal Mertl wrote: > > > > I would expect this topic already popped on the list but search didn't > > revealed anything. > > > > As a hostmaster of several FreeBSD servers I noticed the problem of some > > counters overflowing (e.g. byte counters for IP/TCP/UDP overflow in > > several days on my systems). I looked at the source code and it seems > > On a system that I have access to with GigE cards, running constantly > over 200Mb/s, the netstat -i counters will overflow on the order of once > every minute or two. As an aside questions. When we update the network > interface to use the larger 64bit counters, will external programs like > SNMP be able to function with the larger sizes or will these have > problems. I am not sugesting we don't do this, I just want to know. > > Jim > -- > /"\ ASCII Ribbon Campaign . > \ / - NO HTML/RTF in e-mail . > X - NO Word docs in e-mail . > / \ ----------------------------------------------------------------- > jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve > jim@TheHousleys.Net http://www.TheHousleys.net > jhousley@SimTel.Net http://www.SimTel.Net > --------------------------------------------------------------------- > It's always a long day, 86400 doesn't fit into a short. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message