Re: updatedb

From: Rene Herman
Date: Fri Jul 27 2007 - 04:30:49 EST


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.

-
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/