On Wed, 18 Oct 2023 08:55:12 -0500, Dave Hansen <dave.hansen@xxxxxxxxx>
wrote:
On 10/17/23 21:37, Haitao Huang wrote:
Yes we can introduce misc.reclaim to give user a knob to forcefully
reducing usage if that is really needed in real usage. The semantics
would make force-kill VMs explicit to user.
Do any other controllers do something like this? It seems odd.
Maybe not in sense of killing something. My understanding memory.reclaim
does not necessarily invoke the OOM killer. But what I really intend to
say is we can have a separate knob for user to express the need for
reducing the current usage explicitly and keep "misc.max' non-preemptive
semantics intact. When we implement that new knob, then we can define what
kind of reclaim for that. Depending on vEPC implementation, it may or may
not involve killing VMs. But at least that semantics will be explicit for
user.
Thanks
Haitao