Switch to deadline IO scheduler post boot.

The deadline IO scheduler results in lower latency SD, and pulls in
latency outliers (especially when the flash starts getting fragmented).
Switch to deadline post boot.

Test: various workloads, both synthetic (fio) as well as actual
workloads (app launch, ioshark).

Bug: 63630139
Change-Id: I40baa222c92330757303ee9c2fd0e3f075dfac78
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
This commit is contained in:
Mohan Srinivasan
2017-10-27 15:45:58 -07:00
parent c2b5bb133e
commit 5e3069df10

View File

@@ -23,6 +23,8 @@ on property:sys.boot_completed=1
write /sys/block/sde/queue/iostats 1
write /sys/block/dm-0/queue/read_ahead_kb 512
write /sys/block/dm-1/queue/read_ahead_kb 512
write /sys/block/sda/queue/scheduler deadline
write /sys/block/sde/queue/scheduler deadline
on boot
# Allow ftm4 autotune from adb shell