[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210725023201.13f0d2f2@mail.inbox.lv>
Date: Sun, 25 Jul 2021 02:32:01 +0900
From: Alexey Avramov <hakavlad@...ox.lv>
To: ndrw.xf@...hazel.co.uk
Cc: akpm@...ux-foundation.org, aros@....com, hannes@...xchg.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
mhocko@...nel.org, surenb@...gle.com, vbabka@...e.cz
Subject: Re: 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.
Powered by blists - more mailing lists