On Thu, Jul 9, 2020 at 11:50 AM Rex Dieter <rdieter(a)math.unl.edu> wrote:
Upon reading the SwapOnZRAM feature proposal, I see it is advocating
allocating 50% of ram for swap. I'd like folks to consider and evaluate how
this impacts earlyoom. It effectively makes the earlyoom memory threshold
double (right?). If so, at least think about lowering 4 to (2 or 3), since
that will make earlyoom's behavior closer to before swaponzram was
introduced.
No objections from me as KDE EarlyOOM change owner. My main concern is
that if someone disables SwapOnZRAM, the effective default EarlyOOM
threshold changes. I don't think there's any easy way to handle that,
but it's an effect we should explicitly take into account.
With my FPgM hat on, I would consider this to be a part of the Swap on
ZRAM proposal, which has been approved by FESCo and so wouldn't
require its own change proposal.
--
Ben Cotton
He / Him / His
Senior Program Manager, Fedora & CentOS Stream
Red Hat
TZ=America/Indiana/Indianapolis