Re: [PATCH] Configurable reclaim batch size

Peter Zijlstra
2007-09-14T23:20:24Z

On Fri, 2007-09-14 at 15:23 -0700, Christoph Lameter wrote:
> This patch allows a configuration of the basic reclaim unit for reclaim in
> vmscan.c. As memory sizes increase so will the frequency of running
> reclaim. Configuring the reclaim unit higher will reduce the number of
> times reclaim has to be entered and reduce the number of times that the
> zone locks have to be taken.

It increases the lock hold times though. Otoh it might work out with the
lock placement.

Do you have any numbers that show this is worthwhile?