Originally posted by r08z
View Post
Announcement
Collapse
No announcement yet.
systemd-oomd Looks Like It Will Come Together For systemd 247
Collapse
X
-
Originally posted by MrEcho View PostThey didn't build it for desktop systems, but I too see where this could be used on desktop on a few things. Auto Kill a few things, or the the system hang?
Comment
-
Originally posted by starshipeleven View PostIf you think systemd killing process is a disaster waiting to happen, you won't believe what disasters the kernel OOM actually does reliably. Like soft-locking the system in an unresponsive mode if there is swap at all.
Not everyone enjoys babysitting a machine that can and should deal with it on its own
- Likes 2
Comment
-
Originally posted by tildearrow View PostIs there a way to prevent Linux from swapping executable code? This would solve a big part of the slowdown...
But I'm not seeing how that matters, if it swaps most of a process's memory the performance will be trashed even if the executable code is kept in RAM.
There were some guys on these forums that were talking about slowing down process execution for swapped processes and not lock the system in wait for some swapped process IO to finish, or something like that. So that only the processes that have their memory swapped to disk will lag and become unresponsive, not the whole system.
This would allow swap to become Great Again (tm), or at least serve some useful purpose.
- Likes 1
Comment
-
Originally posted by xnor View PostOne word: ignorance.
Again, people that don't know what they're talking about and haven't got the first clue about how Linux handles OOM situations ideologically condemn it because it has "systemd" in its name.
That's also a main issue with systemd haters from what I can see. It gobbles up various things that originated elsewhere and improves them killing the original project in the process... very Microsoft-like if you ask me ...
- Likes 2
Comment
-
Originally posted by haplo602 View PostI may be the ignorant one here .... but why can't they simply improve the already available OOM mechanism in the kernel ?
Let's not forget that software is still a tool to reach an objective.
So far I don't see any need for this to be systemd exclusice ?
It gobbles up various things that originated elsewhere and improves them killing the original project in the process... very Microsoft-like if you ask me ...
We should maintain everything alive no matter how good or bad it is, because that's true software freedom.
- Likes 1
Comment
-
Originally posted by haplo602 View Post
I may be the ignorant one here .... but why can't they simply improve the already available OOM mechanism in the kernel ? So far I don't see any need for this to be systemd exclusice ?
Originally posted by haplo602 View PostThat's also a main issue with systemd haters from what I can see. It gobbles up various things that originated elsewhere and improves them killing the original project in the process... very Microsoft-like if you ask me ...
Systemd also "gobbled" logind (ex-ConsoleKit), which was unmaintained abandonware. Again, what exactly is the problem? Would you prefer it to be unmaintained rather than seeing its development resume under an umbrella that happens to be called "systemd"?
But more importantly, the comparison to Microsoft makes no sense. Microsoft's absorption of existing independent software is a problem when MS makes it proprietary and enforces user lock-in. Systemd does nothing of the sort, it's fully FOSS. To my knowledge so far systemd has not pre-empted any projects (as in forking it, merging it in and driving the original out of existence). But if it did or if it does at some point in the future, so what? That's also what FOSS is for, you know. You may have developed something but if another group of developers comes in, merges it into their own codebase under the terms of the FOSS licences YOU selected to release it, and then provides a better user experience thanks to a more integrated and more tightly coupled environment, then d'uh. No project has an entitlement to always remain relevant, it's called Darwinian evolution.
- Likes 3
Comment
-
Originally posted by jacob View PostThe kernel's OOM mechanism is a different thing and serves a different purpose. A policy-based userland component that is cgroup aware is needed, and systemd is the simplest way and most logical place where to implement it.
Also not sure why you coudln't make a kernel system that would follow policies set by userspace, tracking cgroup (which is a kernel feature among other things). Plenty of kernel functionality requires a userspace management daemon to load policies and such. Like for example the firewall and routing tables, and even the current OOM system (although it's limited).
EDIT: my point is that the decision to work in userspace instead than in kernel is a political one, i.e. they can't be arsed to fight tooth and nails for something that kernel developers may or may not fully understand or believe in.Last edited by starshipeleven; 14 July 2020, 07:37 AM.
- Likes 1
Comment
-
Comment