Re: [patch] mm: oom_kill: revert 3% system memory bonus for privileged tasks

2014-01-23 Thread Johannes Weiner
On Tue, Jan 21, 2014 at 08:53:07PM -0800, David Rientjes wrote: > On Thu, 16 Jan 2014, Johannes Weiner wrote: > > > > Unfortunately, I think this could potentially be too much of a bonus. On > > > your same 32GB machine, if a root process is using 18GB and a user > > > process > > > is using 1

Re: [patch] mm: oom_kill: revert 3% system memory bonus for privileged tasks

2014-01-21 Thread David Rientjes
On Thu, 16 Jan 2014, Johannes Weiner wrote: > > Unfortunately, I think this could potentially be too much of a bonus. On > > your same 32GB machine, if a root process is using 18GB and a user process > > is using 14GB, the user process ends up getting selected while the current > > discount of

Re: [patch] mm: oom_kill: revert 3% system memory bonus for privileged tasks

2014-01-15 Thread Johannes Weiner
On Wed, Jan 15, 2014 at 04:18:47PM -0800, David Rientjes wrote: > On Wed, 15 Jan 2014, Johannes Weiner wrote: > > > With a63d83f427fb ("oom: badness heuristic rewrite"), the OOM killer > > tries to avoid killing privileged tasks by subtracting 3% of overall > > memory (system or cgroup) from their

Re: [patch] mm: oom_kill: revert 3% system memory bonus for privileged tasks

2014-01-15 Thread David Rientjes
On Wed, 15 Jan 2014, Johannes Weiner wrote: > With a63d83f427fb ("oom: badness heuristic rewrite"), the OOM killer > tries to avoid killing privileged tasks by subtracting 3% of overall > memory (system or cgroup) from their per-task consumption. But as a > result, all root tasks that consume les