On Fri, Jan 3, 2020 at 3:41 PM drago01 <drago01(a)gmail.com> wrote:
On Friday, January 3, 2020, Neal Gompa <ngompa13(a)gmail.com> wrote:
>
> On Fri, Jan 3, 2020 at 2:19 PM Ben Cotton <bcotton(a)redhat.com> wrote:
> >
> >
https://fedoraproject.org/wiki/Changes/EnableEarlyoom
> >
> > == Summary ==
> > Install earlyoom package, and enable it by default. This will cause
> > the kernel oomkiller to trigger sooner, but will not affect which
> > process it chooses to kill off. The idea is to recover from out of
> > memory situations sooner, rather than the typical complete system hang
> > in which the user has no other choice but to force power off.
> >
>
> I'd like to see this enabled on all Fedora variants by default. This
> seems to be generally useful for workstations and servers.
The idea might be the implementation is not.
Using a percentage to decide "almost out of memory" is going to hurt on systems
with large amounts of memory be it a 32gb desktop or a 2tb server. You'd have plenty
of memory left and it starts killing processes ...
I agree this is the most significant liability of the proposal right
now. I mention it in:
https://pagure.io/fedora-workstation/issue/119#comment-618480
And I will add this caveat to the proposal, because at the moment I
think we need a satisfactory work around in order to proceed with
enabling this feature.
--
Chris Murphy