From mboxrd@z Thu Jan 1 00:00:00 1970 From: KAMEZAWA Hiroyuki Subject: Re: [-mm] Make the memory controller more desktop responsive Date: Thu, 3 Apr 2008 18:55:55 +0900 Message-ID: <20080403185555.9dfe8dd3.kamezawa.hiroyu@jp.fujitsu.com> References: <20080403093253.8944.10168.sendpatchset@localhost.localdomain> <20080403184351.42de4f56.kamezawa.hiroyu@jp.fujitsu.com> <47F4A700.3080307@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <47F4A700.3080307@linux.vnet.ibm.com> Sender: linux-kernel-owner@vger.kernel.org To: balbir@linux.vnet.ibm.com Cc: Andrew Morton , Hugh Dickins , Sudhir Kumar , YAMAMOTO Takashi , Paul Menage , lizf@cn.fujitsu.com, linux-kernel@vger.kernel.org, taka@valinux.co.jp, linux-mm@kvack.org, David Rientjes , Pavel Emelianov List-Id: linux-mm.kvack.org On Thu, 03 Apr 2008 15:14:32 +0530 Balbir Singh wrote: > KAMEZAWA Hiroyuki wrote: > > On Thu, 03 Apr 2008 15:02:53 +0530 > > Balbir Singh wrote: > >> This patch makes the memory controller more responsive on my desktop. > >> > >> Here is what the patch does > >> > >> 1. Reduces the number of retries to 2. We had 5 earlier, since we > >> were controlling swap cache as well. We pushed data from mappings > >> to swap cache and we needed additional passes to clear out the cache. > > > > Hmm, what this change improves ? > > I don't want to see OOM. > > > > I had set it to 5 earlier, since the swap cache came back to our memory > controller, where it was accounted. I have not seen OOM with it on my desktop, > but at some point if the memory required is so much that we cannot fulfill it, > we do OOM. I have not seen any OOM so far with these changes. > Hmm, I'm now testing swap-cache accounting patch. It seems I should check this value again. Thanks, -Kame