Re: Fedora 32 System-Wide Change proposal (late): Enable EarlyOOM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robbie Harwood <rharwood@xxxxxxxxxx> writes:

> Ben Cotton <bcotton@xxxxxxxxxx> writes:
>
>> 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.
>>
>> # enable earlyoom by default on workstation
>> enable earlyoom.service
>> </pre>
>
> The OOM killer is a kernel function.  I have no opinion on this proposal
> as it stands, but I would like it to include an explanation of why this
> requires a service in userspace to fix.

Another thought.  Wouldn't some of the pain here be alleviated by
setting vm.swappiness=0?  Currently it seems to be 60, which results in
somewhat aggressive swap use; 1 seems better (minimal swapping without
disabling), while 0 will disable it for general use (while preserving it
for hibernation).  This would at least improve the disk thrashing during
OOM situations.

Thanks,
--Robbie

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux