init.qcom.post_boot.sh : set read_ahead_kb to 128

Set read aheads to 128 as larger read aheads are causing
page thrashing.

Change-Id: I62c74fe888158ba2f8251c54597e06b4c0d7d473
This commit is contained in:
Trishool Narayanasetty 2016-02-23 19:49:05 +05:30
parent 8cf6458c97
commit 8a5d4180c1
1 changed files with 3 additions and 0 deletions

View File

@ -2026,6 +2026,9 @@ case "$target" in
;;
"msm8937" | "titanium")
echo 128 > /sys/block/mmcblk0/bdi/read_ahead_kb
echo 128 > /sys/block/mmcblk0/queue/read_ahead_kb
echo 128 > /sys/block/dm-0/queue/read_ahead_kb
echo 128 > /sys/block/dm-1/queue/read_ahead_kb
rm /data/system/perfd/default_values
start perfd
;;