Skip to content

Commit

Permalink
sm6250-common: rootdir: Restore I/O performance
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Bart Van Assche authored and dereference23 committed May 20, 2024
1 parent 90109a9 commit 8bd85a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rootdir/etc/init.target.rc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ on init
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
wait /dev/block/platform/soc/${ro.boot.bootdevice}
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
write /sys/block/sda/queue/iosched/group_idle 0

on early-fs
start vold
Expand Down

0 comments on commit 8bd85a1

Please sign in to comment.