From 27283d5be03afb53ac3c46794f83f02d5e496efa Mon Sep 17 00:00:00 2001 From: David Chao Date: Thu, 23 Feb 2023 14:45:31 +0800 Subject: [PATCH 1/2] thermal: more aggressive thermal throttling on BIG Modify MaxThrottleStep on BIG from 1 to 2 to throttle more aggressively. Bug: 269409489 Test: Build and boot on device Change-Id: Iaf0ebc9b9635b212a9a555c93cf352298128e0fb --- thermal_info_config_lynx.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thermal_info_config_lynx.json b/thermal_info_config_lynx.json index 961a207..075a283 100644 --- a/thermal_info_config_lynx.json +++ b/thermal_info_config_lynx.json @@ -200,7 +200,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] @@ -255,7 +255,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] From ba9a2b62a6fbf35a5fc83735c7eaf9817c1d88c1 Mon Sep 17 00:00:00 2001 From: David Chao Date: Thu, 16 Feb 2023 13:34:04 +0800 Subject: [PATCH 2/2] thermal: more aggresive dex2oat throttling Bug: 269409489 Test: Build and boot on device Change-Id: I255adfbe33937a04c7d9bd37bd4831e35c07f688 --- powerhint.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/powerhint.json b/powerhint.json index 02634d0..577a01d 100644 --- a/powerhint.json +++ b/powerhint.json @@ -590,7 +590,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" @@ -1573,13 +1572,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", @@ -1729,7 +1728,7 @@ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE", "Node": "Dex2oatThreads", "Duration": 0, - "Value": "4" + "Value": "2" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",