On Thu, Jul 9, 2020 at 10:49 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.
Well it's min(50% of RAM, 4 GB). You never get more than 4 GB of zram.