From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 27 Jun 2005 20:06:16 -0400 (EDT) From: Rik Van Riel Subject: Re: [PATCH] 0/2 swap token tuning In-Reply-To: Message-ID: References: <200506271946.33083.tomlins@cam.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Ed Tomlinson Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Song Jiang List-ID: On Mon, 27 Jun 2005, Rik Van Riel wrote: > On Mon, 27 Jun 2005, Rik Van Riel wrote: > > On Mon, 27 Jun 2005, Ed Tomlinson wrote: > > > > > What are the suggested values to put into /proc/sys/vm/swap_token_timeout ? > > > The docs are not at all clear about this (proc/filesystems.txt). > > > > Beats me ;) > > > > I tried a number of values in the original implementation, and > > 300 seconds turned out to work fine... Never mind my previous mail - after looking at kernel/sysctl.c it turns out that the sysctl code compensates for the jiffies vs. seconds difference. Just the default in mm/thrash.c should be changed from "300" to "(300 * HZ)"... -- The Theory of Escalating Commitment: "The cost of continuing mistakes is borne by others, while the cost of admitting mistakes is borne by yourself." -- Joseph Stiglitz, Nobel Laureate in Economics -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org