mirror of
https://github.com/Evolution-X-Devices/device_google_taimen
synced 2026-02-01 07:33:15 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user