diff options
| author | Miguel de Dios <migueldedios@google.com> | 2018-07-13 16:29:50 -0700 |
|---|---|---|
| committer | celtare21 <celtare21@gmail.com> | 2019-06-14 13:50:00 +0300 |
| commit | 6cb1d0ca5765d8e0a74cd2e03102092b36714843 (patch) | |
| tree | 09f6d1d8f2338c514fd4747c1811b6961a3d229c /rootdir | |
| parent | 758d12753eb1d7a191408867493c0c7757f23350 (diff) | |
mata: Change readahead to 128KiB on post-boot.
Reduce readahead from 512KiB to 128KiB to reduce thrashing when we
have a lot of apps running.
Bug: 110908295
Bug: 80426378
Test: manual - device boots
Test: manual - check app launch does not take long
Test: cts-tradefed.sh run cts -m CtsCameraTestCases
Change-Id: I59c1f2f8a6fbb5e0d956ba07a40a2bfac3b61481
Signed-off-by: celtare21 <celtare21@gmail.com>
Diffstat (limited to 'rootdir')
| -rw-r--r-- | rootdir/etc/init.performance.mata.rc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/etc/init.performance.mata.rc b/rootdir/etc/init.performance.mata.rc index 166ed6f9..8f23059e 100644 --- a/rootdir/etc/init.performance.mata.rc +++ b/rootdir/etc/init.performance.mata.rc @@ -45,11 +45,11 @@ on property:sys.boot_completed=1 write /dev/stune/top-app/schedtune.boost 1 # Disable boot time fs tuning - write /sys/block/sde/queue/read_ahead_kb 512 + write /sys/block/sde/queue/read_ahead_kb 128 write /sys/block/sde/queue/nr_requests 128 write /sys/block/sde/queue/iostats 0 - write /sys/block/sda/queue/read_ahead_kb 512 - write /sys/block/sda/queue/nr_requests 256 + write /sys/block/sda/queue/read_ahead_kb 128 + write /sys/block/sda/queue/nr_requests 128 write /sys/block/sda/queue/iostats 0 # Enable UFS powersaving |
