Re: ufsstat - testers / feedback wanted!

From: Brian Candler <B.Candler_at_pobox.com>
Date: Fri, 14 Oct 2005 17:46:28 +0100
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.
Received on Fri Oct 14 2005 - 14:46:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:45 UTC