Messages in this thread |  | | | Date | Tue, 19 Feb 2008 08:31:24 -0500 | | From | Rik van Riel <> | | Subject | Re: [RFC][PATCH] the proposal of improve page reclaim by throttle | |
On Tue, 19 Feb 2008 17:34:59 +1100
Nick Piggin <nickpiggin@yahoo.com.au> wrote:
> On Tuesday 19 February 2008 16:44, KOSAKI Motohiro wrote:
> > background
> > ========================================
> > current VM implementation doesn't has limit of # of parallel reclaim.
> > when heavy workload, it bring to 2 bad things
> > - heavy lock contention
> > - unnecessary swap out
> I think it should maybe be a per-zone thing...
>
> What happens if you make it a per-zone mutex, and allow just a single
> process to reclaim pages from a given zone at a time? I guess that is
> going to slow down throughput a little bit in some cases though...
I agree, doing things per zone will probably work better, because
that way one process can do page reclaim on every NUMA node at
the same time.
--
All rights reversed.
|  |