PINE64
zram - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineTab (https://forum.pine64.org/forumdisplay.php?fid=140)
+--- Forum: PineTab Software (https://forum.pine64.org/forumdisplay.php?fid=142)
+--- Thread: zram (/showthread.php?tid=11946)



zram - guenther - 10-26-2020

I sometimes get some freezes in firefox under Mobian, so i decided to install zram with
Code:
sudo apt install zram-tools

than I changed the size of zram in /etc/default/zramswap to
Code:
PERCENTAGE=50

I expected the size of zram to be approx. 1GB, but
Code:
sudo swapon --show

shows only 1/4 of the size (252MB). I read it has something to do with the fact that the CPU has 4 cores!?
So what's the real size now? 252MB * 4, or just 252MB?

Please could someone of the more experienced users clarify that?

Edit: I found the answer at..tata...mobian wiki :-)
https://wiki.mobian-project.org/doku.php?id=tweaks

Anyway, because it seems the freezes have nothing to do with running out of RAM I decided to remove zram.