From 9fab91e5ed6d601746dfef0b88d141b5cb9b6447 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Fri, 17 Feb 2023 13:00:55 +0800 Subject: [PATCH 1/2] thermal: more aggresive dex2oat throttling Bug: 267841021 Test: Build and boot on device Change-Id: Ic8356a391fc21af070c6700a310b0975b3ee5a56 --- powerhint.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/powerhint.json b/powerhint.json index 9d2338e..4eff2fa 100644 --- a/powerhint.json +++ b/powerhint.json @@ -557,7 +557,6 @@ "Path": "vendor.powerhal.dalvik.vm.dex2oat-cpu-set", "Values": [ "0,1,2,3", - "0,1,2,3,4,5", "0,1,2,3,4,5,6,7" ], "Type": "Property" @@ -1635,13 +1634,13 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", "Node": "Dex2oatThreads", "Duration": 0, - "Value": "6" + "Value": "4" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", "Node": "Dex2oatCPUSet", "Duration": 0, - "Value": "0,1,2,3,4,5" + "Value": "0,1,2,3" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", @@ -1815,7 +1814,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", "Node": "Dex2oatThreads", "Duration": 0, - "Value": "4" + "Value": "2" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", From 38f717943a2b297fcb37d46a7c3bf1cf5cee92b1 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Fri, 17 Feb 2023 13:02:57 +0800 Subject: [PATCH 2/2] thermal: increase the throttling speed for BIG cluster Bug: 267841021 Test: Run burn8 and check the CDEV state Change-Id: I50f9014d09fdf64dac97f66541056d05cad269cf --- thermal_info_config_felix.json | 4 ++-- thermal_info_config_proactive_skin_felix.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/thermal_info_config_felix.json b/thermal_info_config_felix.json index 382f5c2..733df89 100644 --- a/thermal_info_config_felix.json +++ b/thermal_info_config_felix.json @@ -357,7 +357,7 @@ "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], "MaxReleaseStep": 1, - "MaxThrottleStep": 1, + "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL2", "CdevCeiling": [0, 15, 15, 15, 15, 17, 17], "LimitInfo": [0, 0, 0, 0, 15, 17, 17] @@ -412,7 +412,7 @@ "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], "MaxReleaseStep": 1, - "MaxThrottleStep": 1, + "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL2", "CdevCeiling": [0, 15, 15, 15, 15, 17, 17], "LimitInfo": [0, 0, 0, 0, 15, 17, 17] diff --git a/thermal_info_config_proactive_skin_felix.json b/thermal_info_config_proactive_skin_felix.json index bad7e72..c719af2 100644 --- a/thermal_info_config_proactive_skin_felix.json +++ b/thermal_info_config_proactive_skin_felix.json @@ -357,7 +357,7 @@ "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], "MaxReleaseStep": 1, - "MaxThrottleStep": 1, + "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL2", "CdevCeiling": [0, 15, 15, 15, 15, 17, 17], "LimitInfo": [0, 0, 0, 0, 15, 17, 17] @@ -412,7 +412,7 @@ "CdevRequest": "thermal-cpufreq-2", "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1], "MaxReleaseStep": 1, - "MaxThrottleStep": 1, + "MaxThrottleStep": 2, "BindedPowerRail": "S2M_VDD_CPUCL2", "CdevCeiling": [0, 15, 15, 15, 15, 17, 17], "LimitInfo": [0, 0, 0, 0, 15, 17, 17]