Re: swappiness ignored

From: Con Kolivas
Date: Wed Jun 02 2004 - 18:36:06 EST


On Thu, 3 Jun 2004 05:54, Bill Davidsen wrote:
> Marc-Christian Petersen wrote:
> > I bet you have /proc/sys/vm/autoswappiness or the previous version of it
> > w/o /proc stuff.
>
> What option do I need to enable so I can get this control (to disable
> it)? I have sysctl enabled in 2.6.7-rc1 and no autoswappiness to be found.

This only exists if you have it patched with my autoregulated swappiness
patch.

http://ck.kolivas.org/patches/2.6/2.6.7-rc2/patch-2.6.7-rc2-am11


The mainline kernel has a static value for swappiness you can set any time.

echo 60 > /proc/sys/vm/swappiness

Con
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/