Re: [patch] mm, oom: base root bonus on current usage

2014-01-29 Thread Johannes Weiner
On Wed, Jan 29, 2014 at 12:28:13PM -0800, Andrew Morton wrote: > On Sat, 25 Jan 2014 19:48:32 -0800 (PST) David Rientjes > wrote: > > > A 3% of system memory bonus is sometimes too excessive in comparison to > > other processes and can yield poor results when all processes on the > > system

Re: [patch] mm, oom: base root bonus on current usage

2014-01-29 Thread David Rientjes
On Wed, 29 Jan 2014, Andrew Morton wrote: > This changelog has deteriorated :( We should provide sufficient info so > that people will be able to determine whether this patch will fix a > problem they or their customers are observing. And so that people who > maintain -stable and its derivatives

Re: [patch] mm, oom: base root bonus on current usage

2014-01-29 Thread Andrew Morton
On Sat, 25 Jan 2014 19:48:32 -0800 (PST) David Rientjes wrote: > A 3% of system memory bonus is sometimes too excessive in comparison to > other processes and can yield poor results when all processes on the > system are root and none of them use over 3% of memory. > > Replace the 3% of

Re: [patch] mm, oom: base root bonus on current usage

2014-01-29 Thread Andrew Morton
On Sat, 25 Jan 2014 19:48:32 -0800 (PST) David Rientjes rient...@google.com wrote: A 3% of system memory bonus is sometimes too excessive in comparison to other processes and can yield poor results when all processes on the system are root and none of them use over 3% of memory. Replace

Re: [patch] mm, oom: base root bonus on current usage

2014-01-29 Thread David Rientjes
On Wed, 29 Jan 2014, Andrew Morton wrote: This changelog has deteriorated :( We should provide sufficient info so that people will be able to determine whether this patch will fix a problem they or their customers are observing. And so that people who maintain -stable and its derivatives can

Re: [patch] mm, oom: base root bonus on current usage

2014-01-29 Thread Johannes Weiner
On Wed, Jan 29, 2014 at 12:28:13PM -0800, Andrew Morton wrote: On Sat, 25 Jan 2014 19:48:32 -0800 (PST) David Rientjes rient...@google.com wrote: A 3% of system memory bonus is sometimes too excessive in comparison to other processes and can yield poor results when all processes on the

Re: [patch] mm, oom: base root bonus on current usage

2014-01-26 Thread Johannes Weiner
On Sat, Jan 25, 2014 at 07:48:32PM -0800, David Rientjes wrote: > A 3% of system memory bonus is sometimes too excessive in comparison to > other processes and can yield poor results when all processes on the > system are root and none of them use over 3% of memory. > > Replace the 3% of system

Re: [patch] mm, oom: base root bonus on current usage

2014-01-26 Thread Johannes Weiner
On Sat, Jan 25, 2014 at 07:48:32PM -0800, David Rientjes wrote: A 3% of system memory bonus is sometimes too excessive in comparison to other processes and can yield poor results when all processes on the system are root and none of them use over 3% of memory. Replace the 3% of system

[patch] mm, oom: base root bonus on current usage

2014-01-25 Thread David Rientjes
A 3% of system memory bonus is sometimes too excessive in comparison to other processes and can yield poor results when all processes on the system are root and none of them use over 3% of memory. Replace the 3% of system memory bonus with a 3% of current memory usage bonus. Reported-by:

[patch] mm, oom: base root bonus on current usage

2014-01-25 Thread David Rientjes
A 3% of system memory bonus is sometimes too excessive in comparison to other processes and can yield poor results when all processes on the system are root and none of them use over 3% of memory. Replace the 3% of system memory bonus with a 3% of current memory usage bonus. Reported-by: