Does it actually work?
Does it actually work?
Posted Apr 10, 2025 12:39 UTC (Thu) by khim (subscriber, #9252)In reply to: Does it actually work? by jhe
Parent article: Three ways to rework the swap subsystem
> I think the underlying cause is that some applications (Firefox, Electron) are too memory hungry to run on 4 or 8 GB.
Yet, somehow, it works fine with macOS or Windows. That's what makes things really weird: Linux claims that it has very efficient and quick swap subsystem yet, in practice, it works like a crap.
I can open 100 Windows of Chrome and VSCode (or XCode) and pile of other apps that use 50GB or 100GB of swap on Windows and MacOS system with 8GiB RAM – and it would work. Yes, it wouldn't be flying, not with this kind of memory pressure… but system would be usable.
Yet on Linux with much smaller memory pressure system is totally unresponsive.
I always assumed that it was because no one cared or used swap on Linux, and that means it's useless… but that article claims that certain refactorings are not done because there would be regressions… regressions compared to what? To the non-usable swap of today? Does it even matter? Who uses swap on Linux, why and, most importantly, how?
