From owner-freebsd-hackers Mon Aug 18 11:36:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA08654 for hackers-outgoing; Mon, 18 Aug 1997 11:36:14 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id LAA08646 for ; Mon, 18 Aug 1997 11:36:12 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA15516; Mon, 18 Aug 1997 11:27:47 -0700 From: Terry Lambert Message-Id: <199708181827.LAA15516@phaeton.artisoft.com> Subject: Re: "rm" speeds (2.1.7.1 vs. 2.2.1) To: dg@root.com Date: Mon, 18 Aug 1997 11:27:47 -0700 (MST) Cc: ponds!rivers@dg-rtp.dg.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199708180204.TAA19951@implode.root.com> from "David Greenman" at Aug 17, 97 07:04:25 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Again, f.y.i. - this is a 486dx66 with 24meg of RAM, a typical IDE > >drive (1+gig)... The 2.2.1 kernel has NBUF defined at 128; to see > >if that's the problem... where the 2.1.7 kernel was from the boot floppy > >off of a 2.1.7 CDROM. > > That is the problem. Take out the NBUF= thing from your kernel config file > and rebuild/install the kernel. A system with 24MB of RAM will have about > 600 buffers if it is allowed to dynamically calculate the amount. > What's happening is that the directory is getting pushed out of the cache, > forcing the system to re-read much of it and the inode blocks each time. I think he will find that at 600 buffers, a 20,000 entry directory will still have that problem (625 directory blocks). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.