Re: Disk cacheing in 2.1.57

yuri mironoff (yuri@buster.rgti.com)
Fri, 10 Oct 1997 10:33:21 -0400 (EDT)


Hi!

Do you mean the dentry table doesn't expand dynamically at this point?

Y.

On Fri, 10 Oct 1997, Bill Hawes wrote:

> The dcache and inode reclamation code in 2.1.57 still needs some
> tuning. If the number of files being examined is too great, all of the
> inodes read on the first pass will be freed before they can be reused on
> the second pass. But if you test grep with a smaller set of files, the
> disk caching works well.
>
> There are two areas that need to be improved -- the dentries on the
> unused list should be released not just based on age, but also on
> "value" -- a file with 100 cached pages should be more valuable than a
> file with no cache, or a negative dentry. Similarly inodes with greater
> value should be kept around longer.
>
> Regards,
> Bill
>