|
|
Log in / Subscribe / Register

Does it actually work?

Does it actually work?

Posted Apr 8, 2025 13:59 UTC (Tue) by jhe (guest, #164815)
In reply to: Does it actually work? by kleptog
Parent article: Three ways to rework the swap subsystem

Disabling swap will force the thrashing onto the page cache and will not prevent the problem from occuring.

You could write a program that hooks into the pressure stall information and kills a pre-defined process (Firefox, probably) when memory pressure goes above 30 or 50. You are right that the kernel OOM killer should do that on its own.

I think the underlying cause is that some applications (Firefox, Electron) are too memory hungry to run on 4 or 8 GB.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds