lkml.org 
[lkml]   [2008]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [-mm] Make the memory controller more desktop responsive
On Thu, 03 Apr 2008 15:14:32 +0530
Balbir Singh <balbir@linux.vnet.ibm.com> wrote:

> KAMEZAWA Hiroyuki wrote:
> > On Thu, 03 Apr 2008 15:02:53 +0530
> > Balbir Singh <balbir@linux.vnet.ibm.com> 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



\
 
 \ /
  Last update: 2008-04-03 11:53    [W:0.428 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site