msm8937-common: post-boot: Set read_ahead_kb values
Set read_ahead_kb values as per device RAM size. CRs-Fixed: 2210107 Change-Id: I3a937b49d8fbae8b9ae3ed1f8c7762e0448a36aa
This commit is contained in:
parent
3bf8f219e8
commit
66440068ec
1 changed files with 6 additions and 4 deletions
|
@ -147,10 +147,12 @@ on enable-low-power
|
|||
write /sys/module/zcache/parameters/clear_percent 3
|
||||
write /sys/module/zcache/parameters/max_pool_percent 30
|
||||
|
||||
write /sys/block/mmcblk0/bdi/read_ahead_kb 128
|
||||
write /sys/block/mmcblk0/queue/read_ahead_kb 128
|
||||
write /sys/block/dm-0/queue/read_ahead_kb 128
|
||||
write /sys/block/dm-1/queue/read_ahead_kb 128
|
||||
write /sys/block/mmcblk0/bdi/read_ahead_kb 512
|
||||
write /sys/block/mmcblk0/queue/read_ahead_kb 512
|
||||
write /sys/block/mmcblk0rpmb/bdi/read_ahead_kb 512
|
||||
write /sys/block/mmcblk0rpmb/queue/read_ahead_kb 512
|
||||
write /sys/block/dm-0/queue/read_ahead_kb 512
|
||||
write /sys/block/dm-1/queue/read_ahead_kb 512
|
||||
|
||||
# Set perfd properties
|
||||
setprop sys.post_boot.parsed 1
|
||||
|
|
Loading…
Reference in a new issue