Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2001 10:40:56 -0500 (EST)
From:      Kenneth Wayne Culver <culverk@wam.umd.edu>
To:        "James E. Housley" <jeh@FreeBSD.ORG>
Cc:        Michal Mertl <mime@traveller.cz>, arch@FreeBSD.ORG
Subject:   Re: 64 bit counters
Message-ID:  <Pine.GSO.4.21.0112261039160.11343-100000@rac1.wam.umd.edu>
In-Reply-To: <3C29D449.7EC7EFCF@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0112261039160.11343-100000>