diff options
author | Jaegeuk Kim <jaegeuk@google.com> | 2019-03-21 02:21:17 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-03-21 02:21:17 +0000 |
commit | 3baf2de5c86975174a4873a63eb039c659f3e288 (patch) | |
tree | 4f4e0e449b93abbe009cea39a7a023b8263e4e05 | |
parent | aa699afc4e2b51f9c64731cd21bb9bcffe73081a (diff) | |
parent | 69aa817141a31ca11d0787807f9f0ae64f1f22c2 (diff) | |
download | device_google_taimen-3baf2de5c86975174a4873a63eb039c659f3e288.tar.gz device_google_taimen-3baf2de5c86975174a4873a63eb039c659f3e288.tar.bz2 device_google_taimen-3baf2de5c86975174a4873a63eb039c659f3e288.zip |
Merge "Revert "Boottime: remove all block-related tunes including readahead size""
-rw-r--r-- | init-taimen.rc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/init-taimen.rc b/init-taimen.rc index be27341..4a70d9e 100644 --- a/init-taimen.rc +++ b/init-taimen.rc @@ -1,3 +1,29 @@ +on late-fs + # boot time fs tune + write /sys/block/sda/queue/iostats 0 + write /sys/block/sda/queue/scheduler cfq + write /sys/block/sda/queue/iosched/slice_idle 0 + write /sys/block/sda/queue/read_ahead_kb 2048 + write /sys/block/sda/queue/nr_requests 256 + write /sys/block/sde/queue/iostats 0 + write /sys/block/sde/queue/scheduler cfq + write /sys/block/sde/queue/iosched/slice_idle 0 + write /sys/block/sde/queue/read_ahead_kb 2048 + write /sys/block/sde/queue/nr_requests 256 + write /sys/block/dm-0/queue/read_ahead_kb 2048 + write /sys/block/dm-1/queue/read_ahead_kb 2048 + +on property:sys.boot_completed=1 + # end boot time fs tune + write /sys/block/sda/queue/read_ahead_kb 128 + write /sys/block/sda/queue/nr_requests 128 + write /sys/block/sda/queue/iostats 1 + write /sys/block/sde/queue/read_ahead_kb 128 + write /sys/block/sde/queue/nr_requests 128 + write /sys/block/sde/queue/iostats 1 + write /sys/block/dm-0/queue/read_ahead_kb 128 + write /sys/block/dm-1/queue/read_ahead_kb 128 + on boot # Allow ftm4 autotune from adb shell chown system shell /sys/devices/virtual/input/ftm4_touch/autotune |