Date: Mon, 14 Jan 2002 20:10:18 +0000 From: Thomas Hurst <tom.hurst@clara.net> To: arch@FreeBSD.org Subject: Re: 64 bit counters again Message-ID: <20020114201018.GA64041@voi.aagh.net> In-Reply-To: <3C431EE5.1CFF557B@mindspring.com> References: <Pine.BSF.4.41.0201132057560.62182-100000@prg.traveller.cz> <3C41F3FD.4ECC8CD@mindspring.com> <20020113231459.GA30349@voi.aagh.net> <3C42390A.F9E9F533@mindspring.com> <3C42E899.CB21BD0A@FreeBSD.org> <3C431EE5.1CFF557B@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Terry Lambert (tlambert2@mindspring.com) wrote: > "James E. Housley" wrote: > > Right now I am trying to do network usage on the overflows the 32 bit > > counters in 60 120 seconds. 4.2GB/minute? Tasty. > Actually, I was thinking that if what you are counting overflowed > in such a short period of time, then you are counting the wrong > thing. James is? I thought FreeBSD was doing the counting? :) > You still haven't told us exactly what counter is overflowing... This machine is the box sitting in front of my single user LAN connected to a cable modem: tcp: 11962790 packets sent 7754863 data packets (3000140145 bytes) 12199847 packets received 5346910 acks (for 2999095921 bytes) 8383470 packets (4099500609 bytes) received in-sequence 320301 out-of-order packets (423292462 bytes) It's been up for 25 days, and every single one of those byte counters is totally bogus (well, *maybe* sent is accurate, received cetainly isn't, or won't be very soon). I'm just interested in how much bandwidth I'm using, but if the counters are going to overflow this easily, they cease being terribly useful, unless I'm going to actively count them and watch for overflows in userspace. I'm not really bothered if they're totally accurate, since they're just a guide - how about a float that counts kb? ;) -- Thomas 'Freaky' Hurst - freaky@aagh.net - http://www.aagh.net/ - Authors are easy to get on with -- if you're fond of children. -- Michael Joseph, "Observer" 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?20020114201018.GA64041>