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 <liumartin@google.com>
This commit is contained in:
Martin Liu 2023-11-07 11:49:17 +08:00
parent 32c81852bb
commit f965322914

View file

@ -17,6 +17,10 @@ on init
chown system system /sys/class/backlight/panel0-backlight/ssc_mode chown system system /sys/class/backlight/panel0-backlight/ssc_mode
chmod 664 /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 on early-boot
# Wait for insmod_sh to finish all common modules # Wait for insmod_sh to finish all common modules
wait_for_prop vendor.common.modules.ready 1 wait_for_prop vendor.common.modules.ready 1