Description of problem:
The new one 'systemd-oomd' is replaced old one 'earlyoom' in f34. The CPU utilization is to high compared with earlyoom. systemd-oomd consumes 0.7-1.3% on Ryzen CPU (Zen 2). earlyoom usage was nearly zero.
This could negatively impact on laptop power usage and reduce battery life and power efficiency.
Tested on Fedora 34 Workstation (GNOME). KDE users reporting the same results.
Version-Release number of selected component (if applicable):
$ sudo dnf install htop
Look at current 'systemd-oomd` process CPU usage and TIME+ column.
* Current CPU usage: 0.7-1.3%.
* TIME+: in top after the 'gnome-shell' process.
'systemd-oomd' CPU utilization is equal to 'earlyoom' or even less.
Can the patches in https://github.com/systemd/systemd/pull/19126 be considered for picking to Fedora 34 branch?
On older systems systemd-oomd is non-stop 6-10% CPU usage.
After a few hours of uptime, it consistently has more TIME+ then gnome-shell.
FEDORA-2021-775e2373a1 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-775e2373a1