summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRom Lemarchand <romlem@android.com>2016-07-13 10:57:57 -0700
committerRom Lemarchand <romlem@google.com>2016-07-13 19:25:02 +0000
commit284713938f3c3bc4c861eebe3dd6416b4dc0f3d2 (patch)
tree38926b8352f2889ae6a9bb448dcb0f45d4ae0856
parenta9b5b53d204188ce247580d541b57c093c26baa1 (diff)
downloadflounder-284713938f3c3bc4c861eebe3dd6416b4dc0f3d2.tar.gz
flounder: restore read_ahead/prefetch to default
Large read_ahead and prefetch buffers hurt the device's performance since access to system is mostly done through random I/O. Restoring to default values (256kB prefetch and 128kB read_ahead). Bug: 28904641 Change-Id: I2929df30d3371eff3f79c179118128de51677300
-rw-r--r--init.flounder.rc6
1 files changed, 0 insertions, 6 deletions
diff --git a/init.flounder.rc b/init.flounder.rc
index cba5bc5..324b797 100644
--- a/init.flounder.rc
+++ b/init.flounder.rc
@@ -122,15 +122,9 @@ on boot
on fs
mount_all /fstab.flounder
- write /sys/module/dm_verity/parameters/prefetch_cluster 524288
# Update dm-verity state and set partition.*.verified properties
verity_update_state
-on property:service.bootanim.exit=1
- # Adjust parameters for dm-verity devices
- write /sys/block/dm-0/queue/read_ahead_kb 2048
- write /sys/block/dm-1/queue/read_ahead_kb 2048
-
on verity-logging
exec u:r:slideshow:s0 -- /sbin/slideshow warning/verity_red_1 warning/verity_red_2