From f9653229143909827b34c9cc15f2118f4ac6462a Mon Sep 17 00:00:00 2001 From: Martin Liu Date: Tue, 7 Nov 2023 11:49:17 +0800 Subject: [PATCH] adjust PCP high level We have observed more reclaiming activities as upstream has changed how PCP high is calculated since 5.15 kernel. Re-align the level back to 5.10 first so we can monitor how it impacts the MM metrics. Bug: 309409009 Test: boot Change-Id: Ifc0bc84b61d77bb27f38975a78763d13dd1fcc29 Signed-off-by: Martin Liu --- conf/init.akita.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/init.akita.rc b/conf/init.akita.rc index 8bcbe6a..d702709 100644 --- a/conf/init.akita.rc +++ b/conf/init.akita.rc @@ -17,6 +17,10 @@ on init chown system system /sys/class/backlight/panel0-backlight/ssc_mode chmod 664 /sys/class/backlight/panel0-backlight/ssc_mode + # adjust PCP high level + write /proc/sys/vm/percpu_pagelist_high_fraction 430 + + on early-boot # Wait for insmod_sh to finish all common modules wait_for_prop vendor.common.modules.ready 1