mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-01-27 15:51:28 +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: I94b90ac09e921fdf01564bd4c6e1a1b809f3f8ec Signed-off-by: Mohan Srinivasan <srmohan@google.com>
This commit is contained in:
@@ -15,6 +15,8 @@ on property:sys.boot_completed=1
|
||||
write /sys/block/sda/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 property:sys.boot_completed=1 && property:ro.build.type=user
|
||||
write /proc/sys/kernel/modules_disabled 1
|
||||
|
||||
Reference in New Issue
Block a user