From owner-freebsd-arch Mon Jan 14 10:30:56 2002 Delivered-To: freebsd-arch@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id EC49F37B416; Mon, 14 Jan 2002 10:30:49 -0800 (PST) Received: from pool0303.cvx21-bradley.dialup.earthlink.net ([209.179.193.48] helo=mindspring.com) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16QBsT-0003Nl-00; Mon, 14 Jan 2002 10:30:37 -0800 Message-ID: <3C4323CA.13461AA1@mindspring.com> Date: Mon, 14 Jan 2002 10:30:34 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bosko Milekic Cc: "James E. Housley" , Thomas Hurst , arch@FreeBSD.ORG Subject: Re: 64 bit counters again References: <3C41F3FD.4ECC8CD@mindspring.com> <20020113231459.GA30349@voi.aagh.net> <3C42390A.F9E9F533@mindspring.com> <3C42E899.CB21BD0A@FreeBSD.org> <20020114105859.A24635@technokratis.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Bosko Milekic wrote: > You know, if you have a counter overflowing in 60 to 120 seconds, > then perhaps what it's counting should not be counted to begin with. > > I stumbled upon several statistics issues while writing mb_alloc and > I tried to the best of my abilities to group the manipulation of the > counters under some common already existing lock. In some odd cases, > this was impossible. But I refused to introduce a bus-locked instruction > or, worse, a whole new lock just to deal with the statistics. It's > too much overhead for mere statistics and, in the latter case, it's > even very bug-prone. To be honest, after actually examining more > closely what the counters collected statistics on, I realized that they > were pretty much totally redundant and am considering removing those > few problematic ones some time in the future. Exactly. I realize that some people's revenue model's depend on this level of statistic keeping, but I have no problem making *only* them pay for that level of detail, instead of everyone. "B-1!" ... "Hey! You sank my business model!" -- Alfred Perlstein -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message