Re: BK performance tip (22x faster)

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Wed Jul 05 2000 - 16:52:03 EST


Chuck Lever writes:
> On Wed, 5 Jul 2000, Richard Gooch wrote:
> > I had to bump the limit on a machine here to 64k inodes, because
> > someone was generating large numbers of small files. So I'd prefer
> > a higher limit as well. Unfortunately, inodes are hugely bloated
> > (taking at least 396 bytes), so 64k inodes would take up nearly 25 MiB
> > of RAM! We probably shouldn't do that by default.
> >
> > However, I note that 2.3.99 and later don't have this control file
> > anyway. Perhaps it's dynamic now?
>
> 2.3/4 kernels use a SLAB cache for inodes, instead of an ad hoc
> cache. the old limit was used to determine when to reap inodes.
> the new system reaps them automatically when system memory is short.

Good. That's what I was hoping for.

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:17 EST