Re: BK performance tip (22x faster)

From: Chuck Lever (cel@monkey.org)
Date: Wed Jul 05 2000 - 16:49:45 EST


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.

> Hopefully one day someone will reduce the inode bloat.

hear hear.

        - Chuck Lever

--
corporate:	<chuckl@netscape.com>
personal:	<chucklever@bigfoot.com>

The Linux Scalability project: http://www.citi.umich.edu/projects/linux-scalability/

- 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