On Wed, Jan 8, 2020 at 8:25 PM Chris Murphy <lists(a)colorremedies.com> wrote:
On Mon, Jan 6, 2020 at 11:09 AM Lennart Poettering <mzerqung(a)0pointer.de> wrote:
> - facebook is working on making oomd something that just works for
> everyone, they are in the final rounds of canonicalizing the
> configuration so that it can just work for all workloads without
> tuning. The last bits for this to be deployable are currently being
> done on the kernel side ("iocost"), when that's in, they'll
> oomd (or simplified parts of it) to systemd, so that it's just there
> and works. It's their expressive intention to make this something
> that also works for desktop stuff and requires no further
> tuning. they also will do the systemd work necessary. time frame:
> half a year, maybe one year, but no guarantees.
Looks like PSI based oom killing doesn't work without swap. Therefore
oomd can't be considered a universal solution. Quite a lot of
developers have workstations with quite a decent amount of RAM,
~64GiB, and do not use swap at all. Server baremetal are likewise
mixed, depending on workloads, and in cloud it's rare for swap to
We think earlyoom can be adjusted to work well for both the swap and
no swap use cases.
How? On a system with 64GB of ram and no swap all it does currently is
reducing the amount of usable memory significantly.