diff options
author | Ziyan <jaraidaniel@gmail.com> | 2016-01-08 17:57:59 +0100 |
---|---|---|
committer | Caio Schnepper <caioschnepper@gmail.com> | 2016-07-01 21:36:37 -0300 |
commit | 3a44be3ded869e2e015265e32242726737820d41 (patch) | |
tree | ce2a8a82954e4cebfae009a3da7a1d7a408c46a5 | |
parent | fb4b3cc9c3fba7d549315a585fda7d16411c61d6 (diff) | |
download | device_samsung_galaxys2-common-3a44be3ded869e2e015265e32242726737820d41.zip device_samsung_galaxys2-common-3a44be3ded869e2e015265e32242726737820d41.tar.gz device_samsung_galaxys2-common-3a44be3ded869e2e015265e32242726737820d41.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: I5d0e367ecdd562599d7f6c93149aa68738987d6d
-rw-r--r-- | rootdir/init.smdk4210.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.smdk4210.rc b/rootdir/init.smdk4210.rc index 6a03f4f..32dc817 100644 --- a/rootdir/init.smdk4210.rc +++ b/rootdir/init.smdk4210.rc @@ -318,6 +318,9 @@ on boot setprop status.battery.level_raw 50 setprop status.battery.level_scale 9 +# increase read-ahead value to 256 kb + write /sys/block/mmcblk0/queue/read_ahead_kb 256 + # For RIL service cpboot-daemon /sbin/cbd -d -p 8 class main |