Re: Consistent page aging....

Eric W. Biederman
2001-07-26T07:19:33Z

Rik van Riel <riel@conectiva.com.br> writes:

> On 25 Jul 2001, Eric W. Biederman wrote:
> > Rik van Riel <riel@conectiva.com.br> writes:
>
> > > Except that for - presumably dbench-related ? - reasons
> > > Linus and Davem seem to be vetoeing this change.
> >
> > Hmm. I haven't seen a patch for it, and I haven't seen the change being
> > vetoed by Linus and Davem. So I'd have to have more context to comment.
>
> Me neither. Davem had "thrown away his code" so wasn't able
> (or willing) to tell me exactly what he did. ;(

Well there is a relatively cheap way to prototype the gains by better
aging. Allocate swap pages in do_anonymous_page.

That should take about 5 lines, and you can then run benchmarks to see
if the numbers improve. The pages won't be allocated at exactly the
same space in swap but otherwise the numbers should be the same.

Though this might somehow slow down a fast path and cause problems.