top | item 46709714

(no title)

duffyjp | 1 month 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.

discuss

order

eth0up|1 month ago

You're almost certainly on to something and I'll be doing something similar. That must be the crux. Thank you!

dizhn|1 month ago

You should consider some sort of swap on ram like zswap rather than thrashing your nvme.

duffyjp|1 month ago

Thanks, 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|1 month ago

Not parent, but noted. Thanks!