From 3e9baa929abea0e8aa74e730f0a533bdf43cb581 Mon Sep 17 00:00:00 2001 From: "Ali K. Zadeh" Date: Tue, 22 Oct 2024 23:54:37 +0000 Subject: [PATCH] [caimito] Define multiple levels of PA kill to be used in Mendel experiments Level 1: 100MB Level 2: 300MB Level 3: 500MB Bug: 375039716 Test: logcat Flag: EXEMPT resource only file change Change-Id: Ic6dc610fd1d21b83ff93891b8739f74ec5e1fcbf --- perf/powerhint-caiman.json | 16 +++++++++++++++- perf/powerhint-komodo.json | 16 +++++++++++++++- perf/powerhint-ripcurrentpro.json | 16 +++++++++++++++- perf/powerhint-tokay.json | 16 +++++++++++++++- 4 files changed, 60 insertions(+), 4 deletions(-) diff --git a/perf/powerhint-caiman.json b/perf/powerhint-caiman.json index 5f2e974e..ac832b5a 100644 --- a/perf/powerhint-caiman.json +++ b/perf/powerhint-caiman.json @@ -955,6 +955,8 @@ "Name": "PA_KILL", "Path": "/sys/kernel/vendor_mm/pa_kill/reclaim_kb", "Values": [ + "512000", + "307200", "102400", "0" ], @@ -1475,11 +1477,23 @@ "Value": "0" }, { - "PowerHint": "CAMERA_PA_KILL_BOOST", + "PowerHint": "CAMERA_PA_KILL_BOOST_LEVEL_1", "Node": "PA_KILL", "Duration": 0, "Value": "102400" }, + { + "PowerHint": "CAMERA_PA_KILL_BOOST_LEVEL_2", + "Node": "PA_KILL", + "Duration": 0, + "Value": "307200" + }, + { + "PowerHint": "CAMERA_PA_KILL_BOOST_LEVEL_3", + "Node": "PA_KILL", + "Duration": 0, + "Value": "512000" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPUSkipMask", diff --git a/perf/powerhint-komodo.json b/perf/powerhint-komodo.json index ed65ab01..c27991d7 100644 --- a/perf/powerhint-komodo.json +++ b/perf/powerhint-komodo.json @@ -955,6 +955,8 @@ "Name": "PA_KILL", "Path": "/sys/kernel/vendor_mm/pa_kill/reclaim_kb", "Values": [ + "512000", + "307200", "102400", "0" ], @@ -1475,11 +1477,23 @@ "Value": "0" }, { - "PowerHint": "CAMERA_PA_KILL_BOOST", + "PowerHint": "CAMERA_PA_KILL_BOOST_LEVEL_1", "Node": "PA_KILL", "Duration": 0, "Value": "102400" }, + { + "PowerHint": "CAMERA_PA_KILL_BOOST_LEVEL_2", + "Node": "PA_KILL", + "Duration": 0, + "Value": "307200" + }, + { + "PowerHint": "CAMERA_PA_KILL_BOOST_LEVEL_3", + "Node": "PA_KILL", + "Duration": 0, + "Value": "512000" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPUSkipMask", diff --git a/perf/powerhint-ripcurrentpro.json b/perf/powerhint-ripcurrentpro.json index 92bdfd14..1e9e906e 100644 --- a/perf/powerhint-ripcurrentpro.json +++ b/perf/powerhint-ripcurrentpro.json @@ -879,6 +879,8 @@ "Name": "PA_KILL", "Path": "/sys/kernel/vendor_mm/pa_kill/reclaim_kb", "Values": [ + "512000", + "307200", "102400", "0" ], @@ -1393,11 +1395,23 @@ "Value": "0" }, { - "PowerHint": "CAMERA_PA_KILL_BOOST", + "PowerHint": "CAMERA_PA_KILL_BOOST_LEVEL_1", "Node": "PA_KILL", "Duration": 0, "Value": "102400" }, + { + "PowerHint": "CAMERA_PA_KILL_BOOST_LEVEL_2", + "Node": "PA_KILL", + "Duration": 0, + "Value": "307200" + }, + { + "PowerHint": "CAMERA_PA_KILL_BOOST_LEVEL_3", + "Node": "PA_KILL", + "Duration": 0, + "Value": "512000" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPUSkipMask", diff --git a/perf/powerhint-tokay.json b/perf/powerhint-tokay.json index 7504d48a..aa8f70af 100644 --- a/perf/powerhint-tokay.json +++ b/perf/powerhint-tokay.json @@ -955,6 +955,8 @@ "Name": "PA_KILL", "Path": "/sys/kernel/vendor_mm/pa_kill/reclaim_kb", "Values": [ + "512000", + "307200", "102400", "0" ], @@ -1475,11 +1477,23 @@ "Value": "0" }, { - "PowerHint": "CAMERA_PA_KILL_BOOST", + "PowerHint": "CAMERA_PA_KILL_BOOST_LEVEL_1", "Node": "PA_KILL", "Duration": 0, "Value": "102400" }, + { + "PowerHint": "CAMERA_PA_KILL_BOOST_LEVEL_2", + "Node": "PA_KILL", + "Duration": 0, + "Value": "307200" + }, + { + "PowerHint": "CAMERA_PA_KILL_BOOST_LEVEL_3", + "Node": "PA_KILL", + "Duration": 0, + "Value": "512000" + }, { "PowerHint": "CAMERA_LAUNCH", "Node": "CPUSkipMask",