Have you tried making the down increment larger and the up increment smaller
when the active list is larger? This has a natural interpretation: when the
active list is large the scanning period is longer. During this longer scan
period an active page *should* be more likely to have its ref bit set, so it
gets a smaller boost if it is. If not we should penalize it more heavily.
There are three points here:
- small inactive list really means large active list (and vice versa)
- aging increments need to depend on the size of the active list
- "exponential" aging may be completely bogus
> This means we need linear page aging with a large inactive
> list in order to let the page ages move into the right
> direction when we run a system without reverse mapping,
> the patch for that was sent to Alan yesterday.
So, the question is, does my suggestion produce essentially the same
beneficial effect? And by the way, what are your test cases? I'd like to
see if I can your results here.
-- Daniel - 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/