diff options
author | Ziyan <jaraidaniel@gmail.com> | 2016-01-08 17:57:59 +0100 |
---|---|---|
committer | Dániel Járai <jaraidaniel@gmail.com> | 2016-01-08 09:25:49 -0800 |
commit | 22aa119c5ea00e08ca9e4a54cd6e593d90d6717d (patch) | |
tree | a7c97d12f978d6273343a18c429e92fd4d01a0d3 | |
parent | 80d513b6533620c9d7558d7dda5aed8101fe4cc2 (diff) | |
download | device_samsung_tuna-22aa119c5ea00e08ca9e4a54cd6e593d90d6717d.zip device_samsung_tuna-22aa119c5ea00e08ca9e4a54cd6e593d90d6717d.tar.gz device_samsung_tuna-22aa119c5ea00e08ca9e4a54cd6e593d90d6717d.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
-rwxr-xr-x | rootdir/init.tuna.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc index 33dd7a8..ac869f5 100755 --- a/rootdir/init.tuna.rc +++ b/rootdir/init.tuna.rc @@ -79,6 +79,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 + # change permissions for mtd device chmod 0660 /dev/mtd/mtd0 chown media media /dev/mtd/mtd0 |