Add cpuset system group

Set cpuset system group to little and mid cores only when screen
off.

Bug: 328210236
Test: build pass
Change-Id: I3c116998e3bb5f347b8a0d401b7a22c458b19657
This commit is contained in:
Rick Yiu 2024-04-15 14:40:17 +00:00
parent 17e076bcd7
commit 8116ee60ba
4 changed files with 64 additions and 0 deletions

View file

@ -301,6 +301,16 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "SystemCpuset",
"Path": "/dev/cpuset/system/cpus",
"Values": [
"0-7",
"0-6"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "FGCpuset",
"Path": "/dev/cpuset/foreground/cpus",
@ -2689,6 +2699,12 @@
"Type": "EndHint",
"Value": "DISPLAY_UPDATE_IMMINENT"
},
{
"PowerHint": "DISPLAY_IDLE",
"Node": "SystemCpuset",
"Duration": 0,
"Value": "0-6"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPULittleClusterDownRateLimitUs",

View file

@ -301,6 +301,16 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "SystemCpuset",
"Path": "/dev/cpuset/system/cpus",
"Values": [
"0-7",
"0-6"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "FGCpuset",
"Path": "/dev/cpuset/foreground/cpus",
@ -2689,6 +2699,12 @@
"Type": "EndHint",
"Value": "DISPLAY_UPDATE_IMMINENT"
},
{
"PowerHint": "DISPLAY_IDLE",
"Node": "SystemCpuset",
"Duration": 0,
"Value": "0-6"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPULittleClusterDownRateLimitUs",

View file

@ -354,6 +354,16 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "SystemCpuset",
"Path": "/dev/cpuset/system/cpus",
"Values": [
"0-7",
"0-6"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "FGCpuset",
"Path": "/dev/cpuset/foreground/cpus",
@ -2678,6 +2688,12 @@
"Type": "EndHint",
"Value": "DISPLAY_UPDATE_IMMINENT"
},
{
"PowerHint": "DISPLAY_IDLE",
"Node": "SystemCpuset",
"Duration": 0,
"Value": "0-6"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPULittleClusterDownRateLimitUs",

View file

@ -301,6 +301,16 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "SystemCpuset",
"Path": "/dev/cpuset/system/cpus",
"Values": [
"0-7",
"0-6"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "FGCpuset",
"Path": "/dev/cpuset/foreground/cpus",
@ -2689,6 +2699,12 @@
"Type": "EndHint",
"Value": "DISPLAY_UPDATE_IMMINENT"
},
{
"PowerHint": "DISPLAY_IDLE",
"Node": "SystemCpuset",
"Duration": 0,
"Value": "0-6"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "CPULittleClusterDownRateLimitUs",