Re: Swapping in 2.6.10 and 2.6.11.11 on a desktop system

From: Con Kolivas
Date: Wed Jun 15 2005 - 23:17:26 EST


On Wed, 15 Jun 2005 23:44, Alexander Gretencord wrote:
> On Tuesday 14 June 2005 18:42, Con Kolivas wrote:
> > Try the mapped watermark patch from -ck on 2.6.11*
>
> Unfortunately this patch does not help either. The patch buys me time but
> then I get swapping at the 300MB mark. 2.6.8.1 with swappiness=0 swaps
> later than this...

Try tweaking it with this:
echo 100 > /proc/sys/vm/mapped

If this tries so hard to avoid swap that you get an out-of-memory condition
you may also have to disable the hard maplimit with this:
echo 0 > /proc/sys/vm/hardmaplimit

Cheers,
Con

Attachment: pgp00000.pgp
Description: PGP signature