Thread (10 messages) 10 messages, 3 authors, 2005-06-28

Re: [PATCH] 0/2 swap token tuning

From: Rik Van Riel <hidden>
Date: 2005-06-28 00:09:10
Also in: lkml

On Mon, 27 Jun 2005, Rik Van Riel wrote:
On Mon, 27 Jun 2005, Rik Van Riel wrote:
quoted
On Mon, 27 Jun 2005, Ed Tomlinson wrote:
quoted
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: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help