From owner-freebsd-current Tue Sep 12 13:44:17 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA26933 for current-outgoing; Tue, 12 Sep 1995 13:44:17 -0700 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA26925 for ; Tue, 12 Sep 1995 13:44:13 -0700 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA02216; Tue, 12 Sep 1995 13:42:52 -0700 From: Terry Lambert Message-Id: <199509122042.NAA02216@phaeton.artisoft.com> Subject: Re: Statistics request To: rgrimes@GndRsh.aac.dev.com (Rodney W. Grimes) Date: Tue, 12 Sep 1995 13:42:51 -0700 (MST) Cc: terry@lambert.org, current@FreeBSD.org In-Reply-To: <199509121919.MAA04151@GndRsh.aac.dev.com> from "Rodney W. Grimes" at Sep 12, 95 12:19:03 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1297 Sender: current-owner@FreeBSD.org Precedence: bulk > Those are just spot selecting the non-0 ones... > > Now fire up 3 copies of find: > namei 2 1K 6K 8873K 168480 0 0 16,32,64,1K > namei 2 1K 6K 8873K 172299 0 0 16,32,64,1K > namei 1 1K 6K 8873K 172415 0 0 16,32,64,1K The question is whether it self-zero's. If it does, then care has been taken to doubly-break the buffer allocation code in nfs_namei(), which is what I'm trying to determine. I would expect that if this were the case, it would re-zero when idle. If it is only singly broken, I'd expect the number of buffers to increase and keep increasing, or to start freeing stuff that isn't allocated. I haven't determined what statistic free unallocated buffers would bump; unfortunately, I think it would be hidden in the noise on anything that could reproduce the error cases. Garrett has reported 0's in the idle case on his box. I will probably need to write some shell test cases to specifically exercise the bogus code. Anyone have any idea what statistic will show preterbation when I free a buffer twice? I'd like to watch that one too. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.