2 Dec 03:43
Re: [PATCH 02/12] mm: supporting variables and functions for balanced zone aging
From: Wu Fengguang <wfg <at> mail.ustc.edu.cn>
Subject: Re: [PATCH 02/12] mm: supporting variables and functions for balanced zone aging
Newsgroups: gmane.linux.kernel
Date: 2005-12-02 02:43:44 GMT
Subject: Re: [PATCH 02/12] mm: supporting variables and functions for balanced zone aging
Newsgroups: gmane.linux.kernel
Date: 2005-12-02 02:43:44 GMT
On Fri, Dec 02, 2005 at 01:27:06PM +1100, Nick Piggin wrote: > Wu Fengguang wrote: > >On Thu, Dec 01, 2005 at 05:30:15PM -0800, Andrew Morton wrote: > > > >>>But lines 865-866 together with line 846 make most shrink_zone() > >>>invocations > >>>only run one batch of scan. The numbers become: > >> > >>True. Need to go into a huddle with the changelogs, but I have a feeling > >>that lines 865 and 866 aren't very important. What happens if we remove > >>them? > > > > > >Maybe the answer is: can we accept to free 15M memory at one time for a > >64G zone? > >(Or can we simply increase the DEF_PRIORITY?) > > > > 0.02% of the memory? Why not? I think you should be more worried > about what happens when the priority winds up. Yes, sounds reasonable. > I think your proposal to synch reclaim rates between zones is fine > when all pages have similar properties, but could behave strangely > when you do have different requirements on different zones. Thanks. That requirement might be addressed by disabling the feature on specific zones, or attaching them with a shrinker.seeks like ratio, or something else... > >btw, maybe it's time to lower the low_mem_reserve. > >There should be no need to keep ~50M free memory with the balancing patch. > > > > min_free_kbytes? This number really isn't anything to do with balancing > and more to do with the amount of reserve kept for things like GFP_ATOMIC > and recursive allocations. Let's not lower it ;) ok :) Regards, Wu
RSS Feed