diff options
| author | mosimchah <mosimchah@gmail.com> | 2017-07-05 23:36:53 -0400 |
|---|---|---|
| committer | mosimchah <mosimchah@gmail.com> | 2017-07-06 00:21:22 -0400 |
| commit | 2fc967b32adb47c5983fc9057ab3c79f21ce1c69 (patch) | |
| tree | a7f968a622f1b32e825657759c60ea56b1b0b437 | |
| parent | a68e991b505f89fe073318ba6dbaf48021eec1da (diff) | |
w7: set the swappiness value to 10
Change-Id: Ic293ac174cc235fb6b562b1de8513da8ae67a41a
| -rw-r--r-- | rootdir/init.qcom.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index c68c600..dd65c14 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -650,6 +650,7 @@ on property:sys.boot_completed=1 write /proc/sys/vm/dirty_writeback_centisecs 900 write /proc/sys/vm/dirty_expire_centisecs 10 write /proc/sys/vm/vfs_cache_pressure 5 + write /proc/sys/vm/swappiness 10 swapoff /dev/block/zram0 > /dev/null 2>&1 write /sys/block/zram0/reset 1 write /sys/block/zram0/disksize 524288000 |
