Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 148f65b1 authored by T.J. Mercier's avatar T.J. Mercier
Browse files

Add lmkd_native.psi_partial_stall_ms test config

With MGLRU enabled, we see 5% - 16% fewer LMKs from the Beta population
compared to a non-MGLRU baseline. We'll try decreasing the LMKD wakeup
threshold by 20% in one of the experiment configurations to see if it
results in a comparable number of kills to non-MGLRU.

Bug: 384577842
Ignore-AOSP-First: 25Q2 Beta Experiment only go/android-memcgv2-exp
Change-Id: I566a4b294182ece0bd586c88e4f754160235d16f
parent 672c440c
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -1324,23 +1324,31 @@ on property:persist.device_config.mglru_native.lru_gen_config=none
  # Memcg v2 Experiment
  # TODO: Revert after go/android-memcgv2-exp b/386797433
  exec - system system -- /system/bin/memcgv2_activation_depth.sh 0
  setprop persist.device_config.lmkd_native.psi_partial_stall_ms 70
on property:persist.device_config.mglru_native.lru_gen_config=core
  write /sys/kernel/mm/lru_gen/enabled 1
  write /sys/kernel/mm/lru_gen/enabled y
  # Memcg v2 Experiment
  # TODO: Revert after go/android-memcgv2-exp b/386797433
  exec - system system -- /system/bin/memcgv2_activation_depth.sh 1
  setprop persist.device_config.lmkd_native.psi_partial_stall_ms 56
on property:persist.device_config.mglru_native.lru_gen_config=core_and_mm_walk
  write /sys/kernel/mm/lru_gen/enabled y
  # Memcg v2 Experiment
  # TODO: Revert after go/android-memcgv2-exp b/386797433
  exec - system system -- /system/bin/memcgv2_activation_depth.sh 1
  setprop persist.device_config.lmkd_native.psi_partial_stall_ms 70
on property:persist.device_config.mglru_native.lru_gen_config=core_and_nonleaf_young
  write /sys/kernel/mm/lru_gen/enabled y
  # Memcg v2 Experiment
  # TODO: Revert after go/android-memcgv2-exp b/386797433
  exec - system system -- /system/bin/memcgv2_activation_depth.sh 2
  setprop persist.device_config.lmkd_native.psi_partial_stall_ms 70
on property:persist.device_config.mglru_native.lru_gen_config=all
  write /sys/kernel/mm/lru_gen/enabled y
  # Memcg v2 Experiment
  # TODO: Revert after go/android-memcgv2-exp b/386797433
  exec - system system -- /system/bin/memcgv2_activation_depth.sh 3
  setprop persist.device_config.lmkd_native.psi_partial_stall_ms 70

# Allow other processes to run `snapshotctl` through `init`. This requires
# `set_prop` permission on `snapshotctl_prop`.