zlacker

[parent] [thread] 4 comments
1. ASalaz+(OP)[view] [source] 2022-09-24 17:47:29
> Linux starts trashing

You mean intensive use of swap memory? You could turn off swap and get OOM errors instead if you like a snappy system, but I don't know if it's fair to criticize an OS for running out of memory. It's the user fault for using software that demands more resources than the equipment has, or for not expanding the RAM when it's clearly needed.

replies(4): >>phendr+A9 >>Dylan1+Jc >>varisp+uk >>admax8+on
2. phendr+A9[view] [source] 2022-09-24 18:58:22
>>ASalaz+(OP)
I've experienced this too. Swapping seems very slow and inefficient on Linux. No matter how large your swap is, once you hit the point where you're using twice your physical RAM, the system become unresponsive. My guess is Linux doesn't prioritize processes properly for desktop use, and background threads, despite being from minimized windows (minimized by the user in a desperate and futile attempt to open a terminal so I can kill some processes), are free to demand memory with the same priority as everything else.
3. Dylan1+Jc[view] [source] 2022-09-24 19:22:13
>>ASalaz+(OP)
On the other hand I absolutely can blame an OS for not letting me set a minimum amount of memory for the disk cache.

Even if I disable swap, when Linux gets very low on memory you get the exact same symptoms when it starts discarding increasingly-active program code.

4. varisp+uk[view] [source] 2022-09-24 20:22:13
>>ASalaz+(OP)
I have swap turned off and I don't get OOM errors. System just crawls and is unresponsive. Usually happens because of Chromium. If I manage to kill it, then it comes back to normal.
5. admax8+on[view] [source] 2022-09-24 20:47:39
>>ASalaz+(OP)
I've turned off swap, it still happens.

It's not the users fault. Every other major OS handles this situation.

[go to top]