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: I5d336b3f146ca673c83c03304773d0ccf4c01e77 Signed-off-by: Ocean Chen <oceanchen@google.com>
This commit is contained in:
parent
541efd2ce2
commit
a664dadaa8
4 changed files with 14 additions and 0 deletions
3
storage/5.10/init.gs201.storage.rc
Normal file
3
storage/5.10/init.gs201.storage.rc
Normal file
|
@ -0,0 +1,3 @@
|
|||
on init
|
||||
write /sys/block/sda/queue/scheduler bfq
|
||||
write /sys/block/sda/queue/iosched/slice_idle 0
|
2
storage/6.1/init.gs201.storage.rc
Normal file
2
storage/6.1/init.gs201.storage.rc
Normal file
|
@ -0,0 +1,2 @@
|
|||
on init
|
||||
write /sys/block/sda/queue/scheduler mq-deadline
|
Loading…
Add table
Add a link
Reference in a new issue