aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Bellavnce <flintman@flintmancomputers.com>2020-03-10 07:31:10 -0400
committerabhijit1998 <abhijittudu98@gmail.com>2020-04-26 09:33:11 +0530
commit787af7bab76073de04e0e8be9970cfc1f6a61666 (patch)
treef4035342a5ef25b452a4bc99391a6375aba9ee74
parentc1ad3ecf33008dc158200ece5efef70aa689d3f3 (diff)
swappiness: I'm not liking this at 100 on the 2gb ram model
Adjusted to 80 for all. Change-Id: I6e27089ecd3439f3d3d529820211af87e5894603
-rw-r--r--rootdir/etc/init.potter.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootdir/etc/init.potter.rc b/rootdir/etc/init.potter.rc
index caa385e..8de3dda 100644
--- a/rootdir/etc/init.potter.rc
+++ b/rootdir/etc/init.potter.rc
@@ -28,7 +28,7 @@
on property:sys.boot_completed=1
# Enable ZRAM on boot_complete
swapon_all /system/vendor/etc/fstab.qcom
- write /proc/sys/vm/swappiness 100
+ write /proc/sys/vm/swappiness 80
on property:ro.boot.ram=2GB
write /sys/block/zram0/disksize 1073741824