4 ms·
I have 64gb in my linux machine and have managed to hardlock it a bunch of times exhausting the ram. Couldn't even REISUB a couple of times. The OOM killer st
by duffyjp 8mo ago
I have 64gb in my linux machine and have managed to hardlock it a bunch of times exhausting the ram. Couldn't even REISUB a couple of times. The OOM killer stuff in Linux just doesn't work anymore by what I can gather.
Buying more ram is no longer an option, so I added a 128gb swap partition on nvme. I incorrectly assumed with 64gb I didn't even need swap. No crashes since.
If you don't want to move partitions around, you can add a swap file. ChatGPT or whatever can give instructions.
- dizhn 8mo agoYou should consider some sort of swap on ram like zswap rather than thrashing your nvme.
- eth0up 8mo agoNot parent, but noted. Thanks!
- dizhn 8mo ago:)
- duffyjp 8mo agoThanks, yep I do have zram installed, but I'm working with mostly incompressible AI models so it really didn't help. I set it to cap at 8GB so random stuff can take advantage and I guess it helps a tiny bit, but not much. I have a free m.2 slot and may get a cheap optane drive and use that as SWAP. I've read they're not as fast as marketed for this, but at least I wouldn't have to worry about about wearing out my SSD.
- eth0up 8mo agoYou're almost certainly on to something and I'll be doing something similar. That must be the crux. Thank you!