summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-01-08 17:57:59 +0100
committerSimon Shields <keepcalm444@gmail.com>2016-06-12 21:29:58 +1000
commit474b2c14ad9f3ee7f3063354d952d32d3d86e7f0 (patch)
tree80fa66422da0668c69fc1ff337ba57cb4b29952b
parente292f77eff94cfb47673ff8bc6aaceaf9733d532 (diff)
downloaddevice_samsung_i9300-474b2c14ad9f3ee7f3063354d952d32d3d86e7f0.zip
device_samsung_i9300-474b2c14ad9f3ee7f3063354d952d32d3d86e7f0.tar.gz
device_samsung_i9300-474b2c14ad9f3ee7f3063354d952d32d3d86e7f0.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/init.target.rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index d7494ac..55c7369 100644
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -51,7 +51,8 @@ on boot
write /proc/sys/vm/swappiness 100
-
+ # increase read-ahead value to 256 kb
+ write /sys/block/mmcblk0/queue/read_ahead_kb 256
on post-fs-data
# icd