Set max load balance to 4, reduce Downrate Limit for lit and mid cores

Refer to ag/28864349

Bug: 354763942
Test: Build pass, Boot to home
Flag: EXEMPT resource file change only
Change-Id: I85c033e0fd309ff9b6fe8fb24f6c9e687e31f1c6
This commit is contained in:
Pointer Kung 2024-08-20 04:56:39 +00:00
parent 6a63e26b97
commit 8e17fdbdf8

View file

@ -56,6 +56,7 @@
"Values": [ "Values": [
"5000", "5000",
"2000", "2000",
"1000",
"500" "500"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
@ -94,6 +95,7 @@
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us",
"Values": [ "Values": [
"20000", "20000",
"5000",
"3000", "3000",
"2000", "2000",
"500" "500"
@ -941,6 +943,16 @@
"0" "0"
], ],
"ResetOnInit": false "ResetOnInit": false
},
{
"Name": "MaxLoadBalanceInterval",
"Path": "/proc/vendor_sched/max_load_balance_interval",
"Values": [
"1",
"4"
],
"DefaultIndex": 0,
"ResetOnInit": true
} }
], ],
"Actions": [ "Actions": [
@ -2011,13 +2023,13 @@
"PowerHint": "CAMERA_STREAMING_EXTREME", "PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPULittleClusterDownRateLimitUs", "Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0, "Duration": 0,
"Value": "5000" "Value": "1000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_EXTREME", "PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPUMidClusterDownRateLimitUs", "Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0, "Duration": 0,
"Value": "20000" "Value": "5000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_EXTREME", "PowerHint": "CAMERA_STREAMING_EXTREME",
@ -2103,6 +2115,12 @@
"Duration": 0, "Duration": 0,
"Value": "0x0" "Value": "0x0"
}, },
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
@ -2185,13 +2203,13 @@
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPULittleClusterDownRateLimitUs", "Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0, "Duration": 0,
"Value": "5000" "Value": "1000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUMidClusterDownRateLimitUs", "Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0, "Duration": 0,
"Value": "20000" "Value": "5000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
@ -2295,6 +2313,12 @@
"Duration": 0, "Duration": 0,
"Value": "0x80" "Value": "0x80"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "AutoPreferIdle", "Node": "AutoPreferIdle",
@ -2383,13 +2407,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPULittleClusterDownRateLimitUs", "Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0, "Duration": 0,
"Value": "5000" "Value": "1000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUMidClusterDownRateLimitUs", "Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0, "Duration": 0,
"Value": "20000" "Value": "5000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -2469,6 +2493,12 @@
"Duration": 0, "Duration": 0,
"Value": "0x80" "Value": "0x80"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "AutoPreferIdle", "Node": "AutoPreferIdle",