Fedora 34 Planning To Make Use Of Systemd-OOMD To Improve Low Memory Experience

Written by Michael Larabel in Fedora on 22 December 2020 at 03:00 PM EST. 10 Comments
FEDORA
At the end of November systemd 247 released with the new Out-of-Memory Daemon (systemd-oomd) and for the Fedora 34 release next year that will likely be enabled by default for all spins.

Systemd-OOMD aims to improve the Linux low-memory / OoM experience and is based on code originally written by Facebook for their Linux servers and then adapted for Linux desktop memory pressure scenarios. Systemd-OOMD allows monitoring for resource contention and can kill opt-in processes when the memory/SWAP pressure is above a predefined threshold.


With systemd 247, the feature is considered experimental but given that Fedora 34 won't be out until the spring, the developers are confident it will be ready to shine in time. The change proposal outlines their plans for enabling systemd-oomd by default for all Fedora 34 variants. The proposal is to kill off processes under a selected cgroup when the total memory pressure on all tasks exceeds 4% for a period of 10 seconds. Swap configuration handling will also be enabled. More details on the proposed systemd-oomd integration via the proposal.

The Fedora Engineering and Steering Committee has yet to evaluate the proposal but given how they tend to always ship new systemd features quickly and Red Hat employs the key systemd developers, it's a safe bet they will approve this system-wide change for the next Fedora release.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week