[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: "rm" speeds (2.1.7.1 vs. 2.2.1)
From:       Terry Lambert <terry () lambert ! org>
Date:       1997-08-18 18:27:47
[Download RAW message or body]

> > 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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic