Re: [PATCH] swap usage of high memory (fwd)

Rik van Riel (riel@conectiva.com.br)
Thu, 19 Jul 2001 14:24:12 -0300 (BRST)


On Thu, 19 Jul 2001, Linus Torvalds wrote:

> Note that the unfair aging (apart from just being a natural requirement of
> higher allocation pressure) actually has some other advantages too: it
> ends up being aload balancing thing. Sure, it might throw out some things
> that get "unfairly" treated, but once we bring them in again we have a
> better chance of bringing them into a zone that _isn't_ under pressure.
>
> So unfair eviction can actually end up being a natural solution to
> different memory pressure too

Note the difference between unfair aging and unfair eviction.

Unfair eviction is needed and is no problem because with
fair aging this will lead to a large surplus of inactive
pages in less loaded zones, increasing the chances that
future allocations will end up in those zones.

Unfair aging, OTOH, throws away that information, making
it harder for the system to get the pressure across the
zones equal again.

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/