sm6375-common: 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
This commit is contained in:
parent
997145ed64
commit
d936207c39
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ function configure_read_ahead_kb_values() {
|
|||
if [ $MemTotal -le 3145728 ]; then
|
||||
ra_kb=128
|
||||
else
|
||||
ra_kb=512
|
||||
ra_kb=128
|
||||
fi
|
||||
if [ -f /sys/block/mmcblk0/bdi/read_ahead_kb ]; then
|
||||
echo $ra_kb > /sys/block/mmcblk0/bdi/read_ahead_kb
|
||||
|
|
Loading…
Reference in a new issue