From 474b2c14ad9f3ee7f3063354d952d32d3d86e7f0 Mon Sep 17 00:00:00 2001 From: Ziyan Date: Fri, 8 Jan 2016 17:57:59 +0100 Subject: 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 --- rootdir/init.target.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.1