1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-04 17:47:03 +03:00
Anita Zhang 685b0985f0 oomd: threshold swap kill candidates to usages of more than 5%
In some instances, particularly with swap on zram, swap used will be high
while there is still a lot of memory available. FB OOMD handles this by
thresholding kills to X% of total swap usage. Let's do the same thing here.

Anecdotally with these thresholds and my laptop which is exclusively swap
on zram I can sit at 0K / 4G swap free with most of memory free and
systemd-oomd doesn't kill anything.

Partially addresses aggressive kill behavior from
https://bugzilla.redhat.com/show_bug.cgi?id=1941170
2021-04-05 02:04:49 -07:00
..
2020-11-25 09:48:17 +01:00
2021-03-02 09:48:20 +01:00
2020-12-17 20:02:32 +01:00
2020-03-27 20:12:44 +01:00
2021-03-11 19:24:53 +01:00
2020-12-16 17:21:48 +01:00
2021-02-25 14:55:17 +01:00
2021-01-04 11:01:17 +00:00
2021-02-21 19:20:47 +01:00
2021-01-04 11:01:17 +00:00
2020-12-18 12:59:29 +09:00
2021-01-15 10:33:28 +01:00
2021-02-04 19:17:50 +01:00
2021-03-31 10:26:07 +02:00
2020-11-09 13:23:58 +09:00
2020-12-17 20:02:32 +01:00
2020-12-16 17:21:48 +01:00
2020-12-17 20:02:32 +01:00