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.
-- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose...
Send all your spam to email@example.com (spam digging piggy)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jul 23 2001 - 21:00:12 EST