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:
parent
8cf6458c97
commit
8a5d4180c1
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue