Re: [PATCH] Configurable reclaim batch size

From: Peter Zijlstra
Date: Fri Sep 14 2007 - 19:20:26 EST



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?



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/