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: I4ecce69a254bf30b128b25ab59b1b69a02bfb18d
This commit is contained in:
Rick Yiu 2022-11-17 03:07:37 +00:00
parent 1b87bcd1d1
commit a11b655e79

View file

@ -223,8 +223,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
}, },
@ -233,8 +232,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
}, },
@ -243,8 +241,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
}, },
@ -704,18 +701,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",
@ -980,24 +977,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",
@ -1064,24 +1043,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",
@ -1142,24 +1103,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",
@ -1220,24 +1163,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",