Re: Limit hash table size

Andrew Morton
2004-02-06T03:28:18Z

Andi Kleen <ak@suse.de> 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.