Re: VM

Rik van Riel (riel@conectiva.com.br)
Tue, 16 Oct 2001 22:49:28 -0200 (BRST)


On Wed, 17 Oct 2001, Andrea Arcangeli wrote:

> I was also surprised that mainline was swapping more, it shouldn't
> really be the case. Infact in 2.4.13pre3aa1 I'm using shrink_cache to
> probe when it's time to start paging, instead of waiting shrink_cache to
> fail, this to avoid being too aggressive against the cache. So with
> those recent changes it should start swapping earlier and it should swap
> more. But if it's now swapping too much it will be very easy to turn it
> down the swap rate as worse with a few liner that removes such
> cache-probe early-swap logic.

This is exactly why I am so religious about page aging
on objects which are being used. With just the referenced
bit you'll end up almost needing code tweaks to make the
system behave well under various different loads.

The VM just doesn't have the information it needs to
determine what to do...

regards,

Rik

-- 
DMCA, SSSCA, W3C?  Who cares?  http://thefreeworld.net/  (volunteers needed)

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

- 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/