Bug 1944646
Summary: | [oomd] CPU usage 1.3% is somewhat to high | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Artem <ego.cordatus> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 34 | CC: | fedora, fedoraproject, filbranden, flepied, kasong, lnykryn, mavit, msekleta, peterhull90, ssahani, s, systemd-maint, tad, taocrismon, todd.valentic, williambader, yuwatana, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | systemd-248.4-1.fc34 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-10-12 17:07:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Artem
2021-03-30 12:00:01 UTC
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 On my laptop with Fedora 34 and MATE Desktop, systemd-oomd has the second highest total CPU in top. The only process with more CPU is Xorg, and systemd-oomd has about half of the total CPU as Xorg. I have kernel 5.12.9-300.fc34.x86_64 and systemd-248.3-1.fc34.x86_64 The update from last month does not seem to have fixed the problem. If I rarely run more than a few applications on my laptop, is there any danger with running `systemctl mask --now systemd-oomd.service`? (In reply to William Bader from comment #5) > If I rarely run more than a few applications on my laptop, is there any > danger with running `systemctl mask --now systemd-oomd.service`? You don't need to mask it. 'systemctl disable --now systemd-oomd.service' is fine. You can do 'systemctl enable --now earlyoom.service' afterwards to restore the mechanism that was used before systemd-oomd. Using neither is also fine. (In reply to Zbigniew Jędrzejewski-Szmek from comment #6) > You don't need to mask it. When I disabled systemd-oomd without masking it, it seemed to get restarted, I think by other units. I notice when systemd-oomd is running because it burns enough CPU to keep my laptop's fan constantly running. > Using neither is also fine. Thanks. I have been running without either oom for over two weeks with no problems. systemd-249-1.fc35 might improve the situation. I'll backport the patches to f34 later on. systemd-248.4-1.fc34 included the patch to improve oomd resource usage: * 50fe0594d2 oomd: don't collect candidate stats on every interval I hope this is fixed now. If now, please open a new bug. (In reply to Zbigniew Jędrzejewski-Szmek from comment #9) Thanks for info. Can't test in f34 now, but it's definitely fixed on f35 and new Systemd. 43 seconds CPU time used per 24 hours. Great! |