Re: Autotune swappiness01
From: Andrew Morton
Date: Mon Jul 26 2004 - 20:22:23 EST
Clemens Schwaighofer <cs@xxxxxxxxxxxxx> wrote:
>
> Con Kolivas wrote:
> | Andrew Morton writes:
>
> |> Yes, I think 60% is about right for a 512-768M box. Too high for the
> |> smaller machines, too low for the larger ones.
> |
> |
> | Sigh..
> | I have a 1Gb desktop machine that refuses to keep my applications in ram
> | overnight if I have a swappiness higher than the default so I think lots
> | of desktop users with more ram will be unhappy with higher settings.
>
> I have 1 GB and I had a setting of 51 (seemed to be perhaps gentoo
> default or so) and I especially after a weekend (2 days off) it is
> always the "monday-morning-swap-hell" where I have to wait 5min until he
> swapped in the apps he swapped out during weekend.
>
> I changed that to 20 now, but I don't know if this will make things
> worse or better.
>
It may appear to be better, but you now have 100, maybe 200 megabytes less
pagecache available across the entire working day.
-
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/