Merge "Set max load balance to 4, reduce Downrate Limit for lit and mid cores" into main

This commit is contained in:
Ali K. Zadeh 2024-08-17 00:07:44 +00:00 committed by Android (Google) Code Review
commit 8c9f1cf08c
4 changed files with 135 additions and 18 deletions

View file

@ -56,6 +56,7 @@
"Values": [
"5000",
"2000",
"1000",
"500"
],
"DefaultIndex": 0,
@ -94,6 +95,7 @@
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us",
"Values": [
"20000",
"5000",
"3000",
"2000",
"500"
@ -949,6 +951,16 @@
"200"
],
"ResetOnInit": true
},
{
"Name": "MaxLoadBalanceInterval",
"Path": "/proc/vendor_sched/max_load_balance_interval",
"Values": [
"1",
"4"
],
"DefaultIndex": 0,
"ResetOnInit": true
}
],
"Actions": [
@ -2019,13 +2031,13 @@
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "5000"
"Value": "1000"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
"Value": "5000"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
@ -2111,6 +2123,12 @@
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PowerHALCameraRunning",
@ -2193,13 +2211,13 @@
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "5000"
"Value": "1000"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
"Value": "5000"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
@ -2303,6 +2321,12 @@
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "AutoPreferIdle",
@ -2391,13 +2415,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "5000"
"Value": "1000"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
"Value": "5000"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
@ -2477,6 +2501,12 @@
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "AutoPreferIdle",

View file

@ -56,6 +56,7 @@
"Values": [
"5000",
"2000",
"1000",
"500"
],
"DefaultIndex": 0,
@ -94,6 +95,7 @@
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us",
"Values": [
"20000",
"5000",
"3000",
"2000",
"500"
@ -949,6 +951,16 @@
"200"
],
"ResetOnInit": true
},
{
"Name": "MaxLoadBalanceInterval",
"Path": "/proc/vendor_sched/max_load_balance_interval",
"Values": [
"1",
"4"
],
"DefaultIndex": 0,
"ResetOnInit": true
}
],
"Actions": [
@ -2019,13 +2031,13 @@
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "5000"
"Value": "1000"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
"Value": "5000"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
@ -2111,6 +2123,12 @@
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PowerHALCameraRunning",
@ -2193,13 +2211,13 @@
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "5000"
"Value": "1000"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
"Value": "5000"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
@ -2303,6 +2321,12 @@
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "AutoPreferIdle",
@ -2391,13 +2415,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "5000"
"Value": "1000"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
"Value": "5000"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
@ -2477,6 +2501,12 @@
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "AutoPreferIdle",

View file

@ -875,6 +875,16 @@
"200"
],
"ResetOnInit": true
},
{
"Name": "MaxLoadBalanceInterval",
"Path": "/proc/vendor_sched/max_load_balance_interval",
"Values": [
"1",
"4"
],
"DefaultIndex": 0,
"ResetOnInit": true
}
],
"Actions": [
@ -1995,6 +2005,12 @@
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PowerHALCameraRunning",
@ -2151,6 +2167,12 @@
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "AutoPreferIdle",
@ -2289,6 +2311,12 @@
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "AutoPreferIdle",

View file

@ -56,6 +56,7 @@
"Values": [
"5000",
"2000",
"1000",
"500"
],
"DefaultIndex": 0,
@ -949,6 +950,16 @@
"200"
],
"ResetOnInit": true
},
{
"Name": "MaxLoadBalanceInterval",
"Path": "/proc/vendor_sched/max_load_balance_interval",
"Values": [
"1",
"4"
],
"DefaultIndex": 0,
"ResetOnInit": true
}
],
"Actions": [
@ -2019,13 +2030,13 @@
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "5000"
"Value": "1000"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
"Value": "5000"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
@ -2111,6 +2122,12 @@
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PowerHALCameraRunning",
@ -2193,13 +2210,13 @@
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "5000"
"Value": "1000"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
"Value": "5000"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
@ -2303,6 +2320,12 @@
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "AutoPreferIdle",
@ -2391,13 +2414,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "5000"
"Value": "1000"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
"Value": "5000"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
@ -2477,6 +2500,12 @@
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "MaxLoadBalanceInterval",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "AutoPreferIdle",