Open andiohn opened 1 day ago
Here's more details: https://github.com/MichaIng/DietPi/issues/6205
Here's some more reading. https://ikarus.sg/using-zram-to-get-more-out-of-your-raspberry-pi/ This one was very informative.
Ok, so enabling it on a 4GB pi 3 immediately makes it more responsive. I did the top command.
zswap.enabled=1 zswap.compressor=lz4 zswap.zpool=z3fold
Add these to the cmdline.txt when installing.
zswap.enabled=1 zswap.compressor=lz4 zswap.zpool=z3fold
This will allow compressable objects to be compressed and stored compressed in ram. On a raspberry pi 3, it shouldn't effect performance much at all. It's actually recommended by Ubuntu. See this:
https://www.cnx-software.com/2022/01/13/ubuntu-22-04-zswap-raspberry-pi-4-2gb-ram/
I'm going to try it to see if my once a day reboot will still be ok. Right now I have a video file within a website and it doesn't last the day right now.