From owner-freebsd-arch Mon Jan 14 10:18: 4 2002 Delivered-To: freebsd-arch@freebsd.org Received: from root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 741E537B402; Mon, 14 Jan 2002 10:18:02 -0800 (PST) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id g0EI6Xf09120; Mon, 14 Jan 2002 10:06:33 -0800 (PST) (envelope-from dg) Date: Mon, 14 Jan 2002 10:06:33 -0800 From: David Greenman To: Terry Lambert Cc: "James E. Housley" , Thomas Hurst , arch@FreeBSD.org Subject: Re: 64 bit counters again Message-ID: <20020114100633.B8955@nexus.root.com> References: <3C41F3FD.4ECC8CD@mindspring.com> <20020113231459.GA30349@voi.aagh.net> <3C42390A.F9E9F533@mindspring.com> <3C42E899.CB21BD0A@FreeBSD.org> <3C431EE5.1CFF557B@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C431EE5.1CFF557B@mindspring.com>; from tlambert2@mindspring.com on Mon, Jan 14, 2002 at 10:09:41AM -0800 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 >"James E. Housley" wrote: >> Right now I am trying to do network usage on the overflows the 32 bit >> counters in 60 120 seconds. That means the netstat values are useless, >> mrtg and other programs that poll for results every 5 minutes or so are >> useless. If I want to get good data I have to get the counts every 10 >> seconds or so to get reasonable results. > >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. > >Instead of bytes, try counting K or frames, instead of frames, >count packets, etc.. Kbytes doesn't have enough resolution to provide accurate results since the packets themselves are not integer multiples of Kbytes. >You still haven't told us exactly what counter is overflowing... He's just trying to do what every network admin is trying to do: measure link utilization (mostly bits per second) so that he can make intelligent decisions about capacity, use, and associated costs. -DG David Greenman Co-founder, The FreeBSD Project - http://www.freebsd.org President, TeraSolutions, Inc. - http://www.terasolutions.com President, Download Technologies, Inc. - http://www.downloadtech.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message