Re: [PATCH] 0/2 swap token tuning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux