Skip to content

Commit

Permalink
init: increase read-ahead value to 256 kb
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ziyann authored and fourkbomb committed Jun 12, 2016
1 parent e292f77 commit 474b2c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rootdir/init.target.rc
Expand Up @@ -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
Expand Down

0 comments on commit 474b2c1

Please sign in to comment.