Re: Limit hash table size

From: Andrew Morton
Date: Thu Feb 05 2004 - 22:29:57 EST


Andi Kleen <ak@xxxxxxx> wrote:
>
> > But I've been telling poeple for a year that they should set
> > /proc/sys/vm/swappiness to zero during the updatedb run and afaik nobody has
> > bothered to try it...
>
> I do not think such hacks are the right way to do. If updatedb does not
> do that backup will or maybe your nightly tripwire run or some other
> random application that walks file systems. Hacking all of them is just not
> realistic.

You need some way of not slowing down real-world applications by a factor
of 1000. That is unacceptable, and the problems which updatedb and friends
cause (just once per day!) pale in comparison.


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