Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 1997 11:27:47 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        dg@root.com
Cc:        ponds!rivers@dg-rtp.dg.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: "rm" speeds (2.1.7.1 vs. 2.2.1)
Message-ID:  <199708181827.LAA15516@phaeton.artisoft.com>
In-Reply-To: <199708180204.TAA19951@implode.root.com> from "David Greenman" at Aug 17, 97 07:04:25 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708181827.LAA15516>