Subject: Re: How does UBC caching work?
To: Matthias Scheler <tron@zhadum.de>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-perform
Date: 07/08/2002 19:13:42
On Fri, Jul 05, 2002 at 08:15:42AM +0000, Matthias Scheler wrote:

 > today I performed multiple runs of "find * -type f | xargs grep -l" on
 > my local copy of the packages source. All the package sources need
 > less than 100MB of diskspace and my machine has 1GB of physical
 > memory each run caused a lot of disk access.
 > 
 > Shouldn't UBC cached the complete package sources and avoid disk
 > access on the next run?

If more inodes are required to cache those files than your kernel is
using, then obviously it won't cache them all; you need one per file
you wish to have in the cache.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>