Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 1997 08:57:33 -0400 (EDT)
From:      Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
To:        ponds!root.com!dg, ponds!freefall.cdrom.com!freebsd-hackers, ponds!lakes.dignus.com!rivers
Subject:   Re: "rm" speeds (2.1.7.1 vs. 2.2.1)
Message-ID:  <199708181257.IAA05973@lakes.dignus.com>

next 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.
> > 
> > -DG
> > 
> > David Greenman
> > Core-team/Principal Architect, The FreeBSD Project
> > 
> 
>  I'll give it a try!   Thanks for pointing it out..
> 
>  I've still got a directory to try it on - the box has been working
> overnight (about 9+ hours now) trying to delete it...
> 

 That seems to have been the ticket!!!

 I'm doing an 'rm' right now of that troublesome directory, and I
don't hear the tale-tell disk I/O pattern I heard before.  It's just
merrily spinning along deleteing things... (there was a *big* pause
when it started; presumably skipping through those deleted entries...)

 Thanks everyone!  

	- Dave Rivers -




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