Linux Lite Forums

Full Version: zRAM not Swaping
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.

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.
My Thanks to ralphy.
Thank you to Ralphy for post. I was going to ask a similar question. Thanks again.