Re: updatedb

From: Rene Herman
Date: Fri Jul 27 2007 - 02:03:20 EST


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

On 26/07/07, Andika Triwidada <andika@xxxxxxxxx> 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".

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/