Linux Lite Forums
zRAM not Swaping - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=20)
+--- Thread: zRAM not Swaping (/showthread.php?tid=3887)



zRAM not Swaping - revox - 04-01-2017

I installed zRAM through Synaptic Package Manager.

When I do a .......

[sub]cat /proc/swaps[/sub]

I get ..........

[sub]Filename Type Size Used Priority
/dev/sda5                              partition 3981308 0 -1
/dev/zram0                              partition 752016 0 5
/dev/zram1                              partition 752016 0 5
[/sub]

Looks like the Swap is not used...

I did this after install.....

[sub]gksudo leafpad /etc/sysctl.conf[/sub]

AND added this .......

[sub]# Decrease swap usage to a more reasonable level
vm.swappiness=50[/sub]

Any Help Appreciated.




Re: zRAM not Swaping - ralphy - 04-01-2017

You've got 3GB RAM in your system. You'll not see zRAM swapping until it really needs to. With 2GB+ RAM, zRAM will not make much of an impact in your system.

Here are few things you can do in the meantime:

1- In /etc/sysctl.conf change swappiness to 10

vm.swappiness=10

2- From LiteTweaks, install preload

Restart and open your most common applications a couple time at least. Give a little bit of time for preload to kick in. Just because you do not see zRAM swapping already it does not mean that's a bad thing or that its broken.



Re: zRAM not Swaping - revox - 04-01-2017

My Thanks to ralphy.


Re: zRAM not Swaping - Ottawagrant - 04-01-2017

Thank you to Ralphy for post. I was going to ask a similar question. Thanks again.