Re: updatedb

Rene Herman
2007-07-27T06:00:52Z

On 07/27/2007 02:46 AM, Jesper Juhl wrote:

> On 26/07/07, Andika Triwidada <andika@gmail.com> wrote:

>> Might be insignificant, but updatedb calls find (~2M) and sort (~26M).
>> Definitely not RAM intensive though (RAM is 1GB).
>
> That doesn't match my box at all :

[ ... ]

> This is a Slackware Linux 12.0 system.

Yes, already identified that there are more updatedb's around. We are using
"Secure Locate" and others simply the locate from the GNU findutils. Either
version does not itself use significant memory though and seems irrelevant
to the orginal swap-prefetch issue -- if updatedb filled memory with inodes
and dentries the memory is no longer free and swap-prefetch can't prefetch
anything.

The remaining issue of updatedb unnecessarily blowing away VFS caches is
being discussed (*) in a few thread-branches still running.

Rene.

(*) I so much wanted to say "buried".