mondrianwifi: Define properties for LMKD

Change-Id: Ie8748a46ce39f3c8c629d8862e767876f0c4c99f
This commit is contained in:
nyyu 2022-03-19 14:34:49 +01:00
parent da87b285af
commit ef2420ba0b
3 changed files with 11 additions and 4 deletions

View File

@ -61,6 +61,9 @@ TARGET_PROCESS_SDK_VERSION_OVERRIDE += \
/system/bin/mediaserver=22 \
/system/vendor/bin/mm-qcamera-daemon=22
# LMKD stats logging
TARGET_LMKD_STATS_LOG := true
# Partitions
BOARD_BOOTIMAGE_PARTITION_SIZE := 10485760
BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200

View File

@ -52,10 +52,6 @@ on fs
write /sys/kernel/boot_adsp/boot 1
setprop qcom.audio.init complete
# Adaptive LMK
write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1
write /sys/module/lowmemorykiller/parameters/vmpressure_file_min 53059
# GnssConfiguration doesn't actually look at gps.conf, just the debug file
mount none /system/etc/gps.conf /system/etc/gps_debug.conf bind

View File

@ -44,6 +44,14 @@ ro.gps.agps_provider=1
ro.qc.sdk.izat.premium_enabled=0
ro.qc.sdk.izat.service_mask=0x0
# LMKD
ro.lmk.critical_upgrade=true
ro.lmk.downgrade_pressure=60
ro.lmk.kill_heaviest_task=false
ro.lmk.log_stats=true
ro.lmk.upgrade_pressure=40
ro.lmk.use_psi=false
# Memory optimizations
ro.vendor.qti.am.reschedule_service=true