4 ms·
what behavior would you like to see when primary memory is under extreme pressure?
by ahepp 10mo ago
what behavior would you like to see when primary memory is under extreme pressure?
- baq 10mo agoSee mac or windows: grow swap automatically up to some sane limit, show a warning, give user an option to kill stuff; on headless systems, kill stuff. Do not page out critical system processes like sshd or the compositor. A hard lock which requires a reboot or god forbid power cycling is the worst possible outcome, literally anything else which doesn’t start a fire is an improvement TBH.
- jpc0 10mo ago> A hard lock which requires a reboot or god forbid power cycling is the worst possible outcome Hilariously this happens on windows too. Actually everything you said windows and mac doesn't do they do, if you put on a ton a memory pressure the system becomes unresponsive and locks up...
- thewebguyd 10mo agoI've OOMd on my mac several times, and it has never gone completely unresponsive. You get an OOM dialog with a list of apps that you can have it kill.
- socksy 10mo agoI feel I just need to run a slightly too large LLM with too much context on a MBP, and it's enough to slow it down irreparably until it suddenly hard resets. Maybe the memory pressure it does that at is much higher though compared to Linux?
- jhasse 10mo agoSame as Windows. Instead the system freezes.