Random slow downs and applications crashing - Logs are not catching it

You should at least add a swapfile, it works well for me. I have an 8 gig swapfile with 32 gb ram. I think I also tweaked swappiness and zram, don’t remember.

Keep in mind, that swapfile for btrfs needs extra configuration.

I will be adding a swap partition shortly. I got it back to working again as it was. Seems I was heavily thermal throttling. I was struggling to go above 28W at any type of load. I ripped it apart and removed the liquid metal and put PTM7950 on it and booted back up and now it shows 48-55W at load.

I still have the btrfs and snapper issues. but I have that listed in a different thread. I haven’t run Cursor again yet to see if that causes another issue, but after reseating everything and getting better thermals, it stopped doing it shortly after boot. I still haven’t seen a thermal throttle cause crashing though in the past.

So i guess i added a swapfile now correct ? followed the arch tutorial. Between a swap file and swap partition there is no difference.

From that screenshot it looks like you have 4gb of swap.

I hope you have a stable system now.

I just added it to test, my system already was stable without swap :joy:

1 Like

I’m OP haha. I haven’t had time to do the swap yet but I’ll probably be doing a 32gb swap file. Since I have 96gb of RAM I’m not sure what I’ll need if I hibernate.

My system after a btrfs rollback has been mostly stable. I did a lot though and not sure if it’s the rollback or re-pasting the CPU as it was heavily thermal throttling. I also took the drives and ran out and put them back in to make sure they were seated correctly.

4gb swap is enough, 32gb = overkill and useless.

I thought you needed enough swap to move all the memory to the swap to handle hibernation?

Ah, sorry, i lost track of f the thread.

I concur that 32 gb of swap seems excessive.

Perhaps this gives some guidance:

This article mixes facts and opinions about the right amount of swap, with and without hibernation.

Anyone using Zram instead of a swap file / swap partition ?

So using a file not a partition, does the size really matter if it is too large? I figured if it uses it great, if not then oh well. I am using about 7GB of RAM with a couple of applications running. 32GB may have been excessive, but I can’t think of a reason that it would matter as I have 2 NVME drives and they are no where close to being full.