Re: Linux 2.4.7-ac9

Rik van Riel (riel@conectiva.com.br)
Tue, 7 Aug 2001 22:55:01 -0300 (BRST)


On Tue, 7 Aug 2001, Alan Cox wrote:

> 2.4.7-ac9

> o Allow swap < 2*ram (Rik van Riel)

... which I have verified to be functional, on SMP,
but still isn't fine-tuned.

Basically the code frees up swap space on swapin when
we are in danger of swap running out; currently we take
a threshold of 80% full, but this is just a random number.

Ideally the threshold would be such that:
1) swap usage is close to maximal ...
2) ... but (almost) never completely full

By having this we'd have the benefits of both keeping
stuff in swap (less fragmentation, less swapout IO) and
the benefits of freeing up swap on time (able to swap
out the pages we want to get rid of).

It would be cool if people with smallish swap areas
could test this patch to see if any extra tuning would
be needed.

regards,

Rik

--
IA64: a worthy successor to i860.

http://www.surriel.com/ http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

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