From owner-freebsd-current@FreeBSD.ORG Fri Oct 14 16:46:42 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66EC516A420 for ; Fri, 14 Oct 2005 16:46:42 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb.pobox.com (orb.pobox.com [207.8.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C40443D45 for ; Fri, 14 Oct 2005 16:46:41 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb (localhost [127.0.0.1]) by orb.pobox.com (Postfix) with ESMTP id 5C9622205; Fri, 14 Oct 2005 12:47:03 -0400 (EDT) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by orb.sasl.smtp.pobox.com (Postfix) with ESMTP id D38E98B; Fri, 14 Oct 2005 12:46:58 -0400 (EDT) Received: from brian by mappit.local.linnet.org with local (Exim 4.54 (FreeBSD)) id 1EQShR-0005IV-0A; Fri, 14 Oct 2005 17:46:29 +0100 Date: Fri, 14 Oct 2005 17:46:28 +0100 From: Brian Candler To: Eric Anderson Message-ID: <20051014164628.GA20338@uk.tiscali.com> References: <200510131412.23525.max@love2party.net> <20051013181026.GB27418@odin.ac.hmc.edu> <20051014091004.GC18513@uk.tiscali.com> <20051014.085816.104604949.imp@bsdimp.com> <434FDAB2.7040402@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <434FDAB2.7040402@centtech.com> User-Agent: Mutt/1.4.2.1i Cc: max@love2party.net, freebsd-current@freebsd.org, "M. Warner Losh" Subject: Re: ufsstat - testers / feedback wanted! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 16:46:42 -0000 On Fri, Oct 14, 2005 at 11:20:02AM -0500, Eric Anderson wrote: > For statistics gathering purposes though, should I worry about this, or > go for 'fast and imperfect' instead of 'perfect and slow'? With > filesystems, I think it's more important to leave performance high and > get a notion of the statistics, rather than impact performance for > perfect stats (that you may only look at occasionally anyhow). Losing the odd count probably isn't a problem, but I think there's the possibility of a badly wrong value if you're updating a 64-bit word in two halves. For example, it might be possible to wrap around from 00000000ffffffff to 0000000000000000 instead of 0000000100000000.