Originally posted by Danny3
View Post
Ubuntu 22.04 LTS Integrating systemd-oomd For Improving Low Memory Handling
Collapse
X
-
-
-
Originally posted by Draget View PostI have not tried systemd-oomd. But it always bothered me that despite testing different io-schedulers, swap configurations etc. I had major issues in OOM situations on super powerful servers, small servers, desktops, laptops, hdds and ssds for many years. One of the things I never understood, why Linux seems to handle memory-pressure situations so poorly.
I expect it to be super slow with swap and nuke some processes if there is no other way, but not become unresponsive for minutes or completely lock up, crash etc. Looking forward to test it.
I just need responsiveness, if some process becames too hungry, let just kill it, instead of unresponsive machine
Leave a comment:
-
-
Originally posted by tildearrow View PostHave you tried sending the patch to Linus directly?
The first attempt is here: https://lore.kernel.org/lkml/2021113...mail.inbox.lv/
I didn't justify the need to add new sysctl knobs in detail. Before sending the patch to Linus, I hope to justify the need to add new knobs in more detail, as well as respond to objections from the community.
Leave a comment:
-
-
Originally posted by krzyzowiec View PostI solved my problem by acquiring 64GB of RAM for my desktop. The XanMod kernel also seems to save a lot of memory for me over the standard kernel somehow.
Leave a comment:
-
-
Originally posted by abu_shawarib View PostI had freezes (no ctl+alt+F#) from running out of memory even on 21.10 and 20.04. Kinda unacceptable that it happens for a modern OS.
Leave a comment:
-
-
Originally posted by sb56637 View PostFrom what I understand systemd-oomd works on the cgroup, so for most desktops outside of Gnome that would mean it takes down the entire desktop session if it has to intervene. Maybe someone who understands better could comment on this.
See also
Leave a comment:
-
-
Originally posted by Vorpal View PostThe article reads "50% memory pressure limit for user sessions". Is memory pressure the same as memory usage? If so that seems low. Why not allow the user to use something like 90% ram?
I often run memory intensive computational tasks, though I tune them to leave a couple of GB (out of my 32 GB) to the system, X etc.
Last edited by hakavlad; 01 February 2022, 06:10 PM.
Leave a comment:
-
-
Originally posted by Draget View PostI expect it to be super slow with swap
for example,Code:for i in {1..100}; do (tail /dev/zero &); done
Last edited by hakavlad; 01 February 2022, 05:54 PM.
Leave a comment:
-
-
Originally posted by Draget View PostI had major issues in OOM situations on super powerful servers, small servers, desktops, laptops, hdds and ssds for many years. One of the things I never understood, why Linux seems to handle memory-pressure situations so poorly.
https://lore.kernel.org/lkml/YbcNUEZ...hcp22.suse.cz/
Adding new knobs to improve performance under memory pressure is a pain for mm maintainers. In words they may be in favor of solving the problem, but when it comes to business, they will find thousands of objections (some of them, of course, are correct).Last edited by hakavlad; 01 February 2022, 05:18 PM.
Leave a comment:
-
-
Originally posted by hakavlad View Post
No one is interested in these amateur creations. system-oomd is a proven solution from respected developers.
I was trying to do a speedrun a week ago, and the timer had a memory leak problem which caused it to eat the system's memory.
Had it not been for le9 + prelockd, my system would have hung and been unresponsive without explanation. With your patches, the timer promptly closed, and the game kept running without a single lag spike.
Have you tried sending the patch to Linus directly? I know it's mostly tuning options, but these really come in handy.
Leave a comment:
-
Leave a comment: