mirror of
https://github.com/Evolution-X-Devices/device_google_redbull
synced 2026-02-01 09:20:23 +00:00
init.hardware.rc: Restore I/O performance
As one can see in cfq_arm_slice_timer(), the CFQ I/O scheduler supports two parameters that can make it delay I/O: group_idle and slice_idle. Restore I/O performance by setting both the group_idle and slice_idle parameters to zero. Bug: 213617178 Bug: 313578691 Change-Id: I02429876790a6456ca957ff7c38f0c8bf88127f9 Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
@@ -81,6 +81,7 @@ on init && property:vendor.skip.init=0
|
||||
# Boot time fs tuning
|
||||
write /sys/block/sda/queue/iostats 0
|
||||
write /sys/block/sda/queue/scheduler cfq
|
||||
write /sys/block/sda/queue/iosched/group_idle 0
|
||||
write /sys/block/sda/queue/iosched/slice_idle 0
|
||||
write /sys/block/sda/queue/nr_requests 256
|
||||
|
||||
|
||||
Reference in New Issue
Block a user