Re: SwapOnZRAM and how it affects earlyoom thresholds

2020-07-13 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, 2020-07-14 at 01:28 +0900, Alexey A. wrote: > > The most > > common value I've found over a long period of time, for swap > > without > > hibernation is 50% of RAM. > > With low RAM (2G) it's easy to use swap on zram with disksize = 150% >

Re: SwapOnZRAM and how it affects earlyoom thresholds

2020-07-13 Thread Alexey A.
> The most > common value I've found over a long period of time, for swap without > hibernation is 50% of RAM. With low RAM (2G) it's easy to use swap on zram with disksize = 150% MemTotal with opening browsers. 50% maybe OK with MemTotal=8G. > I'd like to hear from Alexey what he thinks about

Re: SwapOnZRAM and how it affects earlyoom thresholds

2020-07-13 Thread Alexey A.
> Upon reading the SwapOnZRAM feature proposal, I see it is advocating > allocating 50% of ram for swap 50% means zram disksize (max size of uncompressed data stored in zram device) = 50% MemTotal. This data will be compressed, so, its size in RAM will be smaller than 50% MemTotal (maybe 25% with

Re: SwapOnZRAM and how it affects earlyoom thresholds

2020-07-09 Thread Michael Catanzaro
On Thu, Jul 9, 2020 at 10:49 am, Rex Dieter 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

Re: SwapOnZRAM and how it affects earlyoom thresholds

2020-07-09 Thread Chris Murphy
On Thu, Jul 9, 2020 at 9:49 AM Rex Dieter wrote: > > part of some irc discussions on > https://fedoraproject.org/wiki/Changes/KDEEarlyOOM > > raised my attention to related item, > https://fedoraproject.org/wiki/Changes/SwapOnZRAM > > As it stands currently with earlyoom, it's default thresholds

Re: SwapOnZRAM and how it affects earlyoom thresholds

2020-07-09 Thread Ben Cotton
On Thu, Jul 9, 2020 at 11:50 AM Rex Dieter 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?).

SwapOnZRAM and how it affects earlyoom thresholds

2020-07-09 Thread Rex Dieter
part of some irc discussions on https://fedoraproject.org/wiki/Changes/KDEEarlyOOM raised my attention to related item, https://fedoraproject.org/wiki/Changes/SwapOnZRAM As it stands currently with earlyoom, it's default thresholds are 4% ram and 10% swap before it acts. That's fine and dandy.