sm6250-common: powerhint: Refine for reduced power consumption

Tune powerhint.json using freqbench results [1]. Instead of increasing
SchedTune boost, just boost big cluster to 825 MHz on interaction as
it's the most efficient frequency. Replace 1248 MHz with a more efficient
1324 Mhz frequency step.

[1] https://github.com/kdrag0n/freqbench/tree/96d72eac/results/sm7125/main

Change-Id: I6655484527feecc3e0c815ddab3be319643cd92c
This commit is contained in:
Alexander Winkowski 2022-02-22 16:04:19 +00:00
parent b14576f34f
commit 3f88f5b3e9
No known key found for this signature in database
GPG Key ID: 72762A66704CDE44

View File

@ -5,7 +5,7 @@
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq", "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq",
"Values": [ "Values": [
"9999999", "9999999",
"1248000" "1324800"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -16,7 +16,7 @@
"Values": [ "Values": [
"9999999", "9999999",
"1708800", "1708800",
"1248000", "1324800",
"576000" "576000"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -37,6 +37,7 @@
"Values": [ "Values": [
"9999999", "9999999",
"1900800", "1900800",
"825600",
"652800" "652800"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -87,15 +88,6 @@
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "TASchedtuneBoost",
"Path": "/dev/stune/top-app/schedtune.boost",
"Values": [
"20",
"10"
],
"ResetOnInit": true
},
{ {
"Name": "CPUBWHystTriggerCount", "Name": "CPUBWHystTriggerCount",
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/hyst_trigger_count", "Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/hyst_trigger_count",
@ -206,7 +198,7 @@
"PowerHint": "SUSTAINED_PERFORMANCE", "PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "CPULittleClusterMaxFreq", "Node": "CPULittleClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1248000" "Value": "1324800"
}, },
{ {
"PowerHint": "SUSTAINED_PERFORMANCE", "PowerHint": "SUSTAINED_PERFORMANCE",
@ -216,15 +208,15 @@
}, },
{ {
"PowerHint": "INTERACTION", "PowerHint": "INTERACTION",
"Node": "CPULittleClusterMinFreq", "Node": "CPUBigClusterMinFreq",
"Duration": 0, "Duration": 0,
"Value": "1248000" "Value": "825600"
}, },
{ {
"PowerHint": "INTERACTION", "PowerHint": "INTERACTION",
"Node": "TASchedtuneBoost", "Node": "CPULittleClusterMinFreq",
"Duration": 0, "Duration": 0,
"Value": "20" "Value": "1324800"
}, },
{ {
"PowerHint": "INTERACTION", "PowerHint": "INTERACTION",