Re: [BENCHMARKS] Namesys VM patches improve kbuild

Nick Piggin
2004-01-23T12:28:41Z

Nikita Danilov wrote:

>Nick Piggin writes:
> >
>
>[...]
>
> >
> > But those cold mapped pages are basically ignored until the
> > reclaim_mapped threshold, however they do continue to have their
> > referenced bits cleared - hence page_referenced check should
> > become a better estimation when reclaim_mapped is reached, right?
>
>Right.
>
>By the way here lies another problem: refill_inactive_zone() never
>removes referenced mapped page from the active list. Which allows for
>the simple DoS:
>

Yeah you are right. I actually have a test program that triggers
the DoS. I think it is also related to the fairness issues in 2.4
(some still exist in 2.6).

Basically the more memory a process has allocated, the faster they
are able to touch it, so the more they are given, etc etc.

But all the same, that should not be hurting low memory performance
if you are trying to do real work.