Advertising

OK, I see. We were talking about 2 different things I guess.
> I write it here again:
>
> with the patch:
> best: 9.7G reclaimed
> worst: 16G reclaimed
>
> without:
> best: 35G reclaimed
> worst: 136G reclaimed
>
> Or you asking about something else? If so, I don't understand what you
> want.
Well, those numbers do not tell us much, right? You have 4 concurrent
readers each an own 1G file in a loop. The longer you keep running that
the more pages you are reclaiming of course. But you are not comparing
the same amount of work.
My main concern about the patch is that it might over-reclaim a lot if
we have workload which also frees memory rahther than constantly add
more easily reclaimable page cache. I realize such a test is not easy
to make.
I have already said that I will not block the patch but it should be at
least explained why a larger batch makes a difference.
--
Michal Hocko
SUSE Labs