Need help with Swap - Its disabled by default

Wow that is an awesome recommendation!
I was coompletely unaware of such thing as zRAM
I just got it set up, and set the swappiness to 30, and I can already feel the smoothness.

Its like I have so much ram to open multiple apps now!

vm.swappiness = 30
NAME           TYPE      SIZE   USED PRIO
/swap/swapfile file      5.8G 908.8M   -2
/dev/zram0     partition 3.5G 144.1M  100

[zram0]
zram-size = 3604
compression-algorithm = zstd
swap-priority = 100

I am getting framework 12 soon, so I’ll give it a try!

3 Likes