Switch from the BFQ to the mq-deadline I/O scheduler
The mq-deadline I/O scheduler is more stable than BFQ. Additionally, the boot time is shorter with the mq-deadline I/O scheduler. It only changes the scheduler on new kernel. Bug: 186902601 Test: forrest build Change-Id: I51605b32afb4340d416fe4923570bb3f4af24ab8 Signed-off-by: Ocean Chen <oceanchen@google.com>
This commit is contained in:
parent
2720a57023
commit
87bf601c9c
4 changed files with 14 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
|||
import /vendor/etc/init/hw/init.zuma.storage.rc
|
||||
import /vendor/etc/init/hw/init.zuma.usb.rc
|
||||
import android.hardware.drm@1.2-service.widevine.rc
|
||||
import init.exynos.sensorhub.rc
|
||||
|
@ -15,10 +16,6 @@ on init
|
|||
# Disable util-awareness for mids and bigs
|
||||
write /proc/vendor_sched/teo_util_threshold "2 1024 1024"
|
||||
|
||||
# Boot time fs tuning
|
||||
write /sys/block/sda/queue/scheduler bfq
|
||||
write /sys/block/sda/queue/iosched/slice_idle 0
|
||||
|
||||
chown system system /proc/vendor_sched/groups/bg/set_task_group
|
||||
chown system system /proc/vendor_sched/groups/cam/set_task_group
|
||||
chown system system /proc/vendor_sched/groups/fg/set_task_group
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue