Re: VM in 2.4.7-pre hurts...

Rik van Riel (riel@conectiva.com.br)
Sun, 8 Jul 2001 15:29:49 -0300 (BRST)


On Sun, 8 Jul 2001, Linus Torvalds wrote:

> (a) _had_ the page been on any of the aging lists, it would have been
> aged down every time we passed it, and
> (b) it's obviously been aged up every time we passed it in the VM so far
> (because it hadn't been added to the swap cache earlier).

> - an anonymous page, by the time we add it to the swap cache, would have
> been aged down and up roughly the same number of times.

Hmmm, indeed. I guess this also means page aging in its
current form cannot even work well with exponential down
aging since the down aging on the pageout list always
cancels out the up aging in swap_out() ...

I guess it's time we found some volunteers to experiment
with linear down aging (page->age--;) since that one will
be able to withstand pages being referenced only in the
page tables.

(now, off to a project 4000 km from home for the next 2
weeks ... bbl)

regards,

Rik

--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

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/