lkml.org 
[lkml]   [2021]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Let's talk about the elephant in the room - the Linux kernel's inability to gracefully handle low memory pressure
> Would it be possible to reserve a fixed (configurable) amount of RAM 
> for caches, and trigger OOM killer earlier, before most UI code is
> evicted from memory?

Yes! Try this patch: https://github.com/hakavlad/le9-patch

The patch provides sysctl knobs for protecting the specified amount of
clean file pages under memory pressure.

\
 
 \ /
  Last update: 2021-07-24 19:39    [W:0.131 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site