[HowTo] Increase free available memory


topmiuier

Members
Jun 1, 2014
80
20
What's the best tool/way how to fine-tune settings of recently enabled zram in kernel?

(on Mi2a every single MB matters :) )

Thanks.
 
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.