Re: updatedb

Rene Herman
2007-07-27T08:28:34Z

On 07/27/2007 09:54 AM, Mike Galbraith wrote:

> On Fri, 2007-07-27 at 08:00 +0200, Rene Herman wrote:
>
>> The remaining issue of updatedb unnecessarily blowing away VFS caches is
>> being discussed (*) in a few thread-branches still running.
>
> If you solve that, the swap thing dies too, they're one and the same
> problem.

I still wonder what the "the swap thing" is though. People just kept saying
that swap-prefetch helped which would seem to indicate their problem didnt
have anything to do with updatedb.

Also, I know shit about the VFS so this may well be not very educated but to
me something like FADV_NOREUSE on a dirfd sounds like a much more promising
approach than the convoluted userspace schemes being discussed, if only
because it'll actually be implemented/used.

Rene.