[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190411121633.GV10383@dhcp22.suse.cz>
Date: Thu, 11 Apr 2019 14:16:33 +0200
From: Michal Hocko <mhocko@...nel.org>
To: Rik van Riel <riel@...riel.com>
Cc: Suren Baghdasaryan <surenb@...gle.com>, akpm@...ux-foundation.org,
dancol@...gle.com, jannh@...gle.com, minchan@...nel.org,
penguin-kernel@...ove.SAKURA.ne.jp, kernel-team@...roid.com,
rientjes@...gle.com, linux-kernel@...r.kernel.org,
willy@...radead.org, linux-mm@...ck.org, hannes@...xchg.org,
shakeelb@...gle.com, jrdr.linux@...il.com,
yuzhoujian@...ichuxing.com, joel@...lfernandes.org,
timmurray@...gle.com, lsf-pc@...ts.linux-foundation.org,
guro@...com, christian@...uner.io, ebiederm@...ssion.com
Subject: Re: [Lsf-pc] [RFC 0/2] opportunistic memory reclaim of a killed
process
On Thu 11-04-19 07:51:21, Rik van Riel wrote:
> On Wed, 2019-04-10 at 18:43 -0700, Suren Baghdasaryan via Lsf-pc wrote:
> > The time to kill a process and free its memory can be critical when
> > the
> > killing was done to prevent memory shortages affecting system
> > responsiveness.
>
> The OOM killer is fickle, and often takes a fairly
> long time to trigger. Speeding up what happens after
> that seems like the wrong thing to optimize.
>
> Have you considered using something like oomd to
> proactively kill tasks when memory gets low, so
> you do not have to wait for an OOM kill?
AFAIU, this is the point here. They probably have a user space OOM
killer implementation and want to achieve killing to be as swift as
possible.
--
Michal Hocko
SUSE Labs
Powered by blists - more mailing lists