Re: a lot of used inode in 2.1.x kernels

Bill Hawes (whawes@star.net)
Mon, 20 Jul 1998 12:12:36 -0400


John Alvord wrote:
>
> Does controlling inodes also control dentry's?

Yes, reducing max_inodes also limits dentry growth proportionally. The
number of dentries can exceed the number of inodes, as some dentries are
"negative" (indicating that a file doesn't exist), but only by a
proportion of the inode count.

So setting a sensible inode limit for small-memory machines helps with
both inode and dentry memory.

Regards,
Bill

-
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.altern.org/andrebalsa/doc/lkml-faq.html