One pet peeve I have with virtual memory management on Linux is that, as memory usage approaches 100%, the kernel starts evicting executable pages because technically they're read-only and can be loaded from disk. Thus, the entire system grinds to a halt in a behavior that looks like swapping, because every program that wants to execute instructions has to load its instructions from disk again, only to have those instruction pages be evicted again when context switching to another program. This behavior is especially counter intuitive because disabling swap does not prevent this problem. There are no convenient settings for administrators for preventing this problem.It's good that we have better swapping now, but I wish they'd address the above. I'd rather have programs getting OOMKilled or throwing errors before the system grinds to a halt, where I can't even ssh in and run 'ps'.
Rygian|25 days ago
An interactive system that does not interact (terminal not reactive, can't ssh in, screen does not refresh) is broken. I don't understand why this is not a kernel bug.
On my system, to add insult to injury, when the system does come back twenty minutes later, I get a "helpful" pop-up from the Linux Kernel saying "Memory Shortage Avoided". Which is just plain wrong. The pop-up should say "sorry, the kernel bricked your system for a solid twenty minutes for no good reason, please file a report".
man8alexd|25 days ago
https://news.ycombinator.com/item?id=45369516
FooBarWidget|25 days ago
robinsonb5|25 days ago
FooBarWidget|25 days ago
akdev1l|25 days ago
direwolf20|25 days ago
nolist_policy|25 days ago
tremon|25 days ago
https://docs.kernel.org/next/admin-guide/mm/multigen_lru.htm...
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
M95D|25 days ago
112233|25 days ago
Any combination of cgroups, /proc flags and other forbidden knobs to get such behaviour?
Neywiny|25 days ago
direwolf20|25 days ago
worldsavior|25 days ago
twic|25 days ago
rustyhancock|25 days ago
And searching desperately for "just kill the damn thing" option.
garaetjjte|24 days ago
AtlasBarfed|25 days ago