From 88b41fb8f2a3af96d9054c5abe2f928e95b67c29 Mon Sep 17 00:00:00 2001 From: Artem Borisov Date: Tue, 28 May 2019 01:32:30 +0530 Subject: sdm660-common: Disable ALMK and PPR on all targets * No matter how hard QC tried to improve these features, they still suffer from stability issues, mainly due to the unpredictable nature of vmpressure they rely on. Change-Id: Icd14c79298a3c268abffa06ed17a79dececf423a --- rootdir/etc/init.qcom.post_boot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rootdir') diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh index eb642cd..c8c242f 100644 --- a/rootdir/etc/init.qcom.post_boot.sh +++ b/rootdir/etc/init.qcom.post_boot.sh @@ -510,7 +510,7 @@ else # Enable adaptive LMK for all targets & # use Google default LMK series for all 64-bit targets >=2GB. - echo 1 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk + echo 0 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk # Enable oom_reaper if [ -f /sys/module/lowmemorykiller/parameters/oom_reaper ]; then @@ -534,7 +534,7 @@ else *) #Set PPR parameters for all other targets. echo $set_almk_ppr_adj > /sys/module/process_reclaim/parameters/min_score_adj - echo 1 > /sys/module/process_reclaim/parameters/enable_process_reclaim + echo 0 > /sys/module/process_reclaim/parameters/enable_process_reclaim echo 50 > /sys/module/process_reclaim/parameters/pressure_min echo 70 > /sys/module/process_reclaim/parameters/pressure_max echo 30 > /sys/module/process_reclaim/parameters/swap_opt_eff -- cgit v1.2.3