Date: Mon, 15 Mar 2004 15:44:52 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Mike Jakubik <mikej@rogers.com> Cc: net@freebsd.org Subject: Re: Byte counters reset at ~4GB Message-ID: <20040315234448.GA28383@Odin.AC.HMC.Edu> In-Reply-To: <2650.192.168.0.200.1079393908.squirrel@192.168.0.1> References: <2650.192.168.0.200.1079393908.squirrel@192.168.0.1>
next in thread | previous in thread | raw e-mail | index | archive | help
--zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 15, 2004 at 06:38:28PM -0500, Mike Jakubik wrote: > It seems that the byte counters (derived from netstat -nbi) reset at > around 4 GB. Is there no way around this? It would be nice to be able to > see an accurate display of totals. It just seems pointless to even have > this, as 4 GB is just not that much anymore. I know this is a 32bit > limitation of the variable, but that's just bad coding in my opinion (no > offence intended), I mean there must be some way around this. Please read the archives of freebsd-net. This has been discussed many times. There are valid reasons for this, particularly the fact that 64-bit counters are much more expensive to update on 32-bit architectures. API breakage is also a problem. We're aware that 2^32 is way to small a limit for modern network counters, but fixing it isn't trivial on 32-bit hardware. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --zhXaljGHf11kAtnf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAVj/uXY6L6fI4GtQRArTxAKCuyQm/4ERbBArDIR52/mX0oPx3PQCfVeYb OwaGZEipToKOKAgmcalY4Is= =UjN1 -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315234448.GA28383>