From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with SMTP id 0801F6B0012 for ; Thu, 12 May 2011 20:41:15 -0400 (EDT) Message-ID: <4DCC7E00.60102@redhat.com> Date: Thu, 12 May 2011 20:40:32 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [RFC PATCH 0/4] memcg: revisit soft_limit reclaim on contention References: <1305226032-21448-1-git-send-email-yinghan@google.com> In-Reply-To: <1305226032-21448-1-git-send-email-yinghan@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Ying Han Cc: Johannes Weiner , KOSAKI Motohiro , Minchan Kim , Daisuke Nishimura , Balbir Singh , Tejun Heo , Pavel Emelyanov , KAMEZAWA Hiroyuki , Andrew Morton , Li Zefan , Mel Gorman , Christoph Lameter , Hugh Dickins , Michal Hocko , Dave Hansen , Zhu Yanhai , linux-mm@kvack.org, Michel Lespinasse On 05/12/2011 02:47 PM, Ying Han wrote: > TODO: > a) there was a question on how to do zone balancing w/o global LRU. This could be > solved by building another cgroup list per-zone, where we also link cgroups under > their soft_limit. We won't scan the list unless the first list being exhausted and > the free pages is still under the high_wmark. > b). one of the tricky part is to calculate the target nr_to_scan for each cgroup, > especially combining the current heuristics with soft_limit exceeds. it depends how > much weight we need to put on the second. One way is to make the ratio to be user > configurable. Johannes addresses these in his patch series. > Ying Han (4): > Disable "organizing cgroups over soft limit in a RB-Tree" > Organize memcgs over soft limit in round-robin. > Implementation of soft_limit reclaim in round-robin. > Add some debugging stats Looks like you also have some things Johannes doesn't have. It may be good for the two patch series you have to get merged into one series, before stuff gets merged upstream. -- All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org