From owner-freebsd-arch Mon Jan 14 12: 3:22 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 CB85D37B486; Mon, 14 Jan 2002 12:03:08 -0800 (PST) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id g0EJp5k09573; Mon, 14 Jan 2002 11:51:05 -0800 (PST) (envelope-from dg) Date: Mon, 14 Jan 2002 11:51:04 -0800 From: David Greenman To: Terry Lambert Cc: Bosko Milekic , "James E. Housley" , Thomas Hurst , arch@FreeBSD.org Subject: Re: 64 bit counters again Message-ID: <20020114115104.C8955@nexus.root.com> References: <3C41F3FD.4ECC8CD@mindspring.com> <20020113231459.GA30349@voi.aagh.net> <3C42390A.F9E9F533@mindspring.com> <3C42E899.CB21BD0A@FreeBSD.org> <20020114105859.A24635@technokratis.com> <3C4305E5.65BB32A6@FreeBSD.org> <20020114114911.A24990@technokratis.com> <20020114094738.A8955@nexus.root.com> <3C4334A1.6601C5ED@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C4334A1.6601C5ED@mindspring.com>; from tlambert2@mindspring.com on Mon, Jan 14, 2002 at 11:42:25AM -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 >Let me tell you that, in the field, he is unlikely to find any >colocation facility with the ability to overflow in under 5 >minutes (two OC3's, full saturated by his one box, are only >100Mbit/S). You *know* this from running the most massive >FTP server on the net for years, right? You are so incredibly naive. Today's colo's use gigabit ethernet. And yes, I am speaking as someone who runs a company that overflows these counters on our servers in less than five minutes and has machines in said colo's connected with gigabit ethernet. Actually, the overflow in 5 minutes problem happens even with a single 155Mbps OC3 circuit...but that's really irrelevant to this discussion. >It's perfectly reasonable to recommend that he keep 1024 byte >precision, while maintaining the same accuracy (e.g. using a >modular byte counter, and conting overflows), which would >amplify his "couple minutes" into 34 hours (he's got a bad >lab setup: he should be able to get full wire speed, even out >of a Tigon II, if he tunes correctly). Um, that still results in a 64bit counter since that's how most 32bit machines do 64bit adds. -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