Change the default cpuset of camera daemon

Changing cpuset itself takes time, so we should reduce the cpuset
change as possible. Since all camera streaming mode change to the
same cpuset value, we could make it default setting.

Bug: 240889279
Test: build pass
Change-Id: Ic77ed789b80e51bef9de6ea9de366a0a240299ca
This commit is contained in:
Rick Yiu 2022-11-17 01:27:31 +00:00
parent d5d92f2ef7
commit 6af6b35f85

View file

@ -234,8 +234,7 @@
"Path": "/dev/cpuset/camera-daemon-high-group/cpus", "Path": "/dev/cpuset/camera-daemon-high-group/cpus",
"Values": [ "Values": [
"0-3", "0-3",
"6-7", "6-7"
"0-7"
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
@ -244,8 +243,7 @@
"Path": "/dev/cpuset/camera-daemon-mid-group/cpus", "Path": "/dev/cpuset/camera-daemon-mid-group/cpus",
"Values": [ "Values": [
"0-3", "0-3",
"4-5", "4-5"
"0-7"
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
@ -254,8 +252,7 @@
"Path": "/dev/cpuset/camera-daemon-mid-high-group/cpus", "Path": "/dev/cpuset/camera-daemon-mid-high-group/cpus",
"Values": [ "Values": [
"0-3", "0-3",
"4-7", "4-7"
"0-7"
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
@ -746,18 +743,18 @@
"Duration": 1000, "Duration": 1000,
"Value": "612" "Value": "612"
}, },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CDCpuset",
"Duration": 1000,
"Value": "4-7"
},
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "NPITaskPacking", "Node": "NPITaskPacking",
"Duration": 1000, "Duration": 1000,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CDCpuset",
"Duration": 1000,
"Value": "4-7"
},
{ {
"PowerHint": "CAMERA_LAUNCH_EXTENDED", "PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
@ -1022,24 +1019,6 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CDHighCpusetCpus",
"Duration": 0,
"Value": "6-7"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CDMidCpusetCpus",
"Duration": 0,
"Value": "4-5"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CDMidHighCpusetCpus",
"Duration": 0,
"Value": "4-7"
},
{ {
"PowerHint": "CAMERA_STREAMING_EXTREME", "PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "NPITaskPacking", "Node": "NPITaskPacking",
@ -1106,24 +1085,6 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDHighCpusetCpus",
"Duration": 0,
"Value": "6-7"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDMidCpusetCpus",
"Duration": 0,
"Value": "4-5"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDMidHighCpusetCpus",
"Duration": 0,
"Value": "4-7"
},
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "NPITaskPacking", "Node": "NPITaskPacking",
@ -1184,24 +1145,6 @@
"Duration": 0, "Duration": 0,
"Value": "20 10 80" "Value": "20 10 80"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CDHighCpusetCpus",
"Duration": 0,
"Value": "6-7"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CDMidCpusetCpus",
"Duration": 0,
"Value": "4-5"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CDMidHighCpusetCpus",
"Duration": 0,
"Value": "4-7"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "NPITaskPacking", "Node": "NPITaskPacking",
@ -1262,24 +1205,6 @@
"Duration": 0, "Duration": 0,
"Value": "20 10 80" "Value": "20 10 80"
}, },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CDHighCpusetCpus",
"Duration": 0,
"Value": "6-7"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CDMidCpusetCpus",
"Duration": 0,
"Value": "4-5"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CDMidHighCpusetCpus",
"Duration": 0,
"Value": "4-7"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "NPITaskPacking", "Node": "NPITaskPacking",