Does it actually work?
Does it actually work?
Posted Apr 10, 2025 12:50 UTC (Thu) by khim (subscriber, #9252)In reply to: Does it actually work? by intelfx
Parent article: Three ways to rework the swap subsystem
> The point I was making is that once you get to the state of thrashing, no amount of "making swap faster" is going to make a system usable while it's in that state.
But why? What makes that impossible precisely and exactly on Linux while perfectly possible on other OSes?
I have one friend who is unfortunate enough to be developing Rust app on Macbook Air. And when rustc starts using 20GiB of RAM (two processes 10GiB each) on his 8GiB MBA… compilation takes ages. What takes 5 minutes for me takes 50 minutes for him. So… 10x slowdown, sure.
Yet… Mac remains perfectly responsive (if sluggish). Chrome works, VSCode works, you can run Word and edit something in it.
Try the same thing on Linux… and everything freezes entirely.
Do you seriously want to imply that rustc has that special code somewhere in it that makes it freeze Linux and specifically and exclusively Linux only? While all other OSes chug along just fine?
