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:
parent
17e076bcd7
commit
8116ee60ba
4 changed files with 64 additions and 0 deletions
|
@ -301,6 +301,16 @@
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name": "SystemCpuset",
|
||||||
|
"Path": "/dev/cpuset/system/cpus",
|
||||||
|
"Values": [
|
||||||
|
"0-7",
|
||||||
|
"0-6"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name": "FGCpuset",
|
"Name": "FGCpuset",
|
||||||
"Path": "/dev/cpuset/foreground/cpus",
|
"Path": "/dev/cpuset/foreground/cpus",
|
||||||
|
@ -2689,6 +2699,12 @@
|
||||||
"Type": "EndHint",
|
"Type": "EndHint",
|
||||||
"Value": "DISPLAY_UPDATE_IMMINENT"
|
"Value": "DISPLAY_UPDATE_IMMINENT"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "DISPLAY_IDLE",
|
||||||
|
"Node": "SystemCpuset",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "0-6"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||||
"Node": "CPULittleClusterDownRateLimitUs",
|
"Node": "CPULittleClusterDownRateLimitUs",
|
||||||
|
|
|
@ -301,6 +301,16 @@
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name": "SystemCpuset",
|
||||||
|
"Path": "/dev/cpuset/system/cpus",
|
||||||
|
"Values": [
|
||||||
|
"0-7",
|
||||||
|
"0-6"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name": "FGCpuset",
|
"Name": "FGCpuset",
|
||||||
"Path": "/dev/cpuset/foreground/cpus",
|
"Path": "/dev/cpuset/foreground/cpus",
|
||||||
|
@ -2689,6 +2699,12 @@
|
||||||
"Type": "EndHint",
|
"Type": "EndHint",
|
||||||
"Value": "DISPLAY_UPDATE_IMMINENT"
|
"Value": "DISPLAY_UPDATE_IMMINENT"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "DISPLAY_IDLE",
|
||||||
|
"Node": "SystemCpuset",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "0-6"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||||
"Node": "CPULittleClusterDownRateLimitUs",
|
"Node": "CPULittleClusterDownRateLimitUs",
|
||||||
|
|
|
@ -354,6 +354,16 @@
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name": "SystemCpuset",
|
||||||
|
"Path": "/dev/cpuset/system/cpus",
|
||||||
|
"Values": [
|
||||||
|
"0-7",
|
||||||
|
"0-6"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name": "FGCpuset",
|
"Name": "FGCpuset",
|
||||||
"Path": "/dev/cpuset/foreground/cpus",
|
"Path": "/dev/cpuset/foreground/cpus",
|
||||||
|
@ -2678,6 +2688,12 @@
|
||||||
"Type": "EndHint",
|
"Type": "EndHint",
|
||||||
"Value": "DISPLAY_UPDATE_IMMINENT"
|
"Value": "DISPLAY_UPDATE_IMMINENT"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "DISPLAY_IDLE",
|
||||||
|
"Node": "SystemCpuset",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "0-6"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||||
"Node": "CPULittleClusterDownRateLimitUs",
|
"Node": "CPULittleClusterDownRateLimitUs",
|
||||||
|
|
|
@ -301,6 +301,16 @@
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name": "SystemCpuset",
|
||||||
|
"Path": "/dev/cpuset/system/cpus",
|
||||||
|
"Values": [
|
||||||
|
"0-7",
|
||||||
|
"0-6"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name": "FGCpuset",
|
"Name": "FGCpuset",
|
||||||
"Path": "/dev/cpuset/foreground/cpus",
|
"Path": "/dev/cpuset/foreground/cpus",
|
||||||
|
@ -2689,6 +2699,12 @@
|
||||||
"Type": "EndHint",
|
"Type": "EndHint",
|
||||||
"Value": "DISPLAY_UPDATE_IMMINENT"
|
"Value": "DISPLAY_UPDATE_IMMINENT"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "DISPLAY_IDLE",
|
||||||
|
"Node": "SystemCpuset",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "0-6"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||||
"Node": "CPULittleClusterDownRateLimitUs",
|
"Node": "CPULittleClusterDownRateLimitUs",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue