summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Rassieur <rassb@google.com>2019-03-28 16:20:07 +0000
committerBill Rassieur <rassb@google.com>2019-03-28 16:20:07 +0000
commit667ea94fbc2fadbb5c4eec90ac222438ffd7ba6c (patch)
tree4f4e0e449b93abbe009cea39a7a023b8263e4e05
parentaa699afc4e2b51f9c64731cd21bb9bcffe73081a (diff)
parent3baf2de5c86975174a4873a63eb039c659f3e288 (diff)
downloaddevice_google_taimen-667ea94fbc2fadbb5c4eec90ac222438ffd7ba6c.tar.gz
device_google_taimen-667ea94fbc2fadbb5c4eec90ac222438ffd7ba6c.tar.bz2
device_google_taimen-667ea94fbc2fadbb5c4eec90ac222438ffd7ba6c.zip
Merge master@5406228 into qt-dev.
Change-Id: I6155fa3721cf5f7c9f04fbcc122cd1c24c14e231 BUG: 129345239
-rw-r--r--init-taimen.rc26
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