Increase SPC threshold for little and mid cores for CAMERA_STREAMING_STANDARD

SPC threshold is too low for both Little and Mid cores. This CL increases this
threshold to 55 for Little Core and to 30 for Mid core.
Test results show lower framedrop rate in presence of background load,
without having a negative impact on the power.

Test: 1080p30: https://docs.google.com/spreadsheets/d/1ANQ7hCkvDR03vHVKfy_i8Eh2tyKEw2qpZmFktCACCgI/edit?resourcekey=0-JXymSV8n68bVlqG2B2MVOw#gid=839467803
Test: 4k30: https://docs.google.com/spreadsheets/d/1YBz9TahcF7iMLRC6iPCl-t_-Vx_Lu6qNTdrs_EmOvZk/edit?resourcekey=0-UarnZQ86b6Vt_LBBjeZQQg#gid=586707919
Test: 1080p120: https://docs.google.com/spreadsheets/d/1kgSEqpT24_qmMrIPGjUkxTVsqVZg5gJAWOCu7p2n02c/edit#gid=697949868

Test: Loaded: Spc Lit 55: https://docs.google.com/spreadsheets/d/1j3MBl0uyjQQmeqC-JN6pqDpYd9FI4UfQq8xXfJcwcis/edit?resourcekey=0-BsWXhyH5D6QJGU2nqfoi_Q#gid=1983120744
Test: Loaded: Spc Mid 30: 1080p30 https://docs.google.com/spreadsheets/d/1FeHEOp_XHM_NJdXeTgDi9VZY2Nql_44aJEvEVtCHWUQ/edit#gid=1505208441
Test: Loaded: Spc Mid 30: 4k30: https://docs.google.com/spreadsheets/d/137ltu2nq5aN-5gA7CxwrCVpUC3fLRE94D30hsaH0-SI/edit#gid=17725636

Bug: 304536786

Change-Id: I07c81d6c3297e54202dc8966b4306d77daf34447
This commit is contained in:
Ali K. Zadeh 2024-04-12 18:27:25 +00:00
parent a57ee838cb
commit d5db58d628
4 changed files with 12 additions and 8 deletions

View file

@ -614,6 +614,7 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold",
"Values": [ "Values": [
"70", "70",
"55",
"42", "42",
"35", "35",
"30", "30",
@ -2081,7 +2082,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_SPC_THRESHOLD", "Node": "PMU_LIT_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "42" "Value": "55"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -2099,7 +2100,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_MID_SPC_THRESHOLD", "Node": "PMU_MID_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "18" "Value": "30"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",

View file

@ -614,6 +614,7 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold",
"Values": [ "Values": [
"70", "70",
"55",
"42", "42",
"35", "35",
"30", "30",
@ -2081,7 +2082,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_SPC_THRESHOLD", "Node": "PMU_LIT_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "42" "Value": "55"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -2099,7 +2100,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_MID_SPC_THRESHOLD", "Node": "PMU_MID_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "18" "Value": "30"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",

View file

@ -697,6 +697,7 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold",
"Values": [ "Values": [
"70", "70",
"55",
"42", "42",
"35", "35",
"30", "30",
@ -2070,7 +2071,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_SPC_THRESHOLD", "Node": "PMU_LIT_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "42" "Value": "55"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -2088,7 +2089,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_MID_SPC_THRESHOLD", "Node": "PMU_MID_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "18" "Value": "30"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",

View file

@ -614,6 +614,7 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold",
"Values": [ "Values": [
"70", "70",
"55",
"42", "42",
"35", "35",
"30", "30",
@ -2081,7 +2082,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_SPC_THRESHOLD", "Node": "PMU_LIT_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "42" "Value": "55"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -2099,7 +2100,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_MID_SPC_THRESHOLD", "Node": "PMU_MID_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "18" "Value": "30"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",