Re: /proc/sys/vm/swapout_interval is useless

Rik van Riel (H.H.vanRiel@fys.ruu.nl)
Mon, 16 Mar 1998 21:56:52 +0100 (MET)


On Mon, 16 Mar 1998, Rik van Riel wrote:

> On 16 Mar 1998, Andreas Schwab wrote:
>
> > It is impossible to finetune swapout_interval using
> > /proc/sys/vm/swapout_interval because any value written to it is
> > multiplied by HZ, and the only usefull values are smaller than HZ. But
> > proc interface for sysctl cannot cope with fractional values. The only
> > chance to change the value of swapout_interval is to use the sysctl
> > syscall, which uses the raw number.

I've grep'ed all of the kernel for occurances of swapout_interval,
and haven't found where the alledged multiplication should take
place...

But the fact remains that /proc/sys/vm/swapout_interval returns
a false value... If you (or anyone for that matter) could give
me a pointer, I'll try and fix the bug for you...

Rik.
+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page | Scouting webmaster |
| - kswapd ask-him & complain-to guy | Vries cubscout leader |
| http://www.fys.ruu.nl/~riel/ | <H.H.vanRiel@fys.ruu.nl> |
+-------------------------------------------+--------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu