From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266403AbUBFD2S (ORCPT ); Thu, 5 Feb 2004 22:28:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266414AbUBFD2R (ORCPT ); Thu, 5 Feb 2004 22:28:17 -0500 Received: from fw.osdl.org ([65.172.181.6]:54216 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S266403AbUBFD2O (ORCPT ); Thu, 5 Feb 2004 22:28:14 -0500 Date: Thu, 5 Feb 2004 19:30:08 -0800 From: Andrew Morton To: Andi Kleen Cc: linux-kernel@vger.kernel.org, kenneth.w.chen@intel.com, lord@xfs.org Subject: Re: Limit hash table size Message-Id: <20040205193008.25bd922b.akpm@osdl.org> In-Reply-To: <20040206031834.GA24890@wotan.suse.de> References: <20040205155813.726041bd.akpm@osdl.org.suse.lists.linux.kernel> <20040205190904.0cacd513.akpm@osdl.org> <20040206031834.GA24890@wotan.suse.de> X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Andi Kleen 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.