diff options
author | Ziyan <jaraidaniel@gmail.com> | 2016-01-08 17:57:59 +0100 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-01-26 00:00:17 +0100 |
commit | 204e378209cd107393a1983db33fcea6e03aa02f (patch) | |
tree | 8bc209285dcdc1109ad686c2194ebf2a5df9496c | |
parent | 6f60fad0e9d7a0b9fa73e7fa7b8dc16aac178ccb (diff) | |
download | device_samsung_espressowifi-204e378209cd107393a1983db33fcea6e03aa02f.zip device_samsung_espressowifi-204e378209cd107393a1983db33fcea6e03aa02f.tar.gz device_samsung_espressowifi-204e378209cd107393a1983db33fcea6e03aa02f.tar.bz2 |
init: increase read-ahead value to 256 kb
Apps and database file sizes have increased in recent Android versions,
which makes it practical to increase our read-ahead value from 128 kb.
General user experience seem to have improved a bit.
Change-Id: I35788444a8552a8f376c699ead163e951ed06b30
-rw-r--r-- | rootdir/etc/init.tab2.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/etc/init.tab2.rc b/rootdir/etc/init.tab2.rc index 28b128b..4e17a32 100644 --- a/rootdir/etc/init.tab2.rc +++ b/rootdir/etc/init.tab2.rc @@ -46,6 +46,9 @@ on fs # set swappines to 100 write /proc/sys/vm/swappiness 100 + # increase read-ahead value to 256 kb + write /sys/block/mmcblk0/queue/read_ahead_kb 256 + mount debugfs /sys/kernel/debug /sys/kernel/debug on post-fs-data |