[HowTo] Increase free available memory


Jun 1, 2014
79
14
18
#1
What's the best tool/way how to fine-tune settings of recently enabled zram in kernel?

(on Mi2a every single MB matters :) )

Thanks.
 
Jun 1, 2014
79
14
18
#2
I will answer my own question: in newer MIUI releases (including MIUI v5 FINAL) you can tune up zram in /system/etc/mcd_default.conf file where you can change both total size as well as swappiness. Increasing swappiness (to 95) greatly improve free available memory on my Mi2a. Background services no longer restart and more foreground apps can run simultaneously.