title:

What does Ram Plus actually do?

(Post creation time:  

3 years ago

)

4801 Views

A

ArchLinux

Active Level 3

last edited

 

3 years ago

 

in

 
You might've heard about Ram Plus or have seen it in settings. But what does it actually do?

image
RAM Plus settings

Despite being said in settings, RAM Plus does not use storage. You can try enabling it on a phone with something like 500MB remaining storage. It will still work.

What it actually uses

RAM Plus uses ZRAM, which means Compressed Swap in Linux. This can be confirmed by running:
cat /vendor/etc/fstab.ramplus
Which outputs this:

image
Output of cat /vendor/etc/fstab.ramplus in ADB shell

RAM Plus can increase the amount of RAM in your phone by compressing RAM that isn't needed and decompressing it when needed. For example:

image
ZRAMCTL output on Konsole


Should I use RAM Plus?
Yes, you should. It should stop background apps from closing automatically as soon as you exit it. RAM Plus won't reduce your storage or damage your storage chip due to frequent writing

If this was helpful to you, please consider clicking the heart button
  • S

    sandeep_d

    Active Level 6

    3 years ago

     

    in

     
    Swap space has been a staple in the Linux kernel for a considerable amount of time. Essentially, it virtually expands RAM capacity by incorporating an additional 2/4 GB of space from the hard drive.

Related Content