From 8f170917916c2d88d06a8f82f68a17f6bce0cd2b Mon Sep 17 00:00:00 2001 From: Paulsu Su Date: Wed, 17 Jul 2024 05:50:24 +0000 Subject: [PATCH] powerhint: Enable auto migration margins/dvfs headroom for game mode Port from ag/27002783 Since the system is more reactive now when tasks are getting busier, set DownRateLimitUs to 500us to avoid increasing power. Also enable pertask iowait boost as util_avg will always start from 0 for forked tasks and this could impact io tasks that need additional help to ensure to migrate to bigger core if they need more perf. Bug: 353256081 Test: Local Genshin test Flag: NONE powerhint change does not support flags Change-Id: If08486732e8213a9d82982f305c42748cf002543 --- perf/powerhint-tegu.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/perf/powerhint-tegu.json b/perf/powerhint-tegu.json index 33873bf..5d8857d 100644 --- a/perf/powerhint-tegu.json +++ b/perf/powerhint-tegu.json @@ -3085,13 +3085,13 @@ "PowerHint": "GAME", "Node": "CPUMidClusterDownRateLimitUs", "Duration": 0, - "Value": "3000" + "Value": "500" }, { "PowerHint": "GAME", "Node": "CPUBigClusterDownRateLimitUs", "Duration": 0, - "Value": "3000" + "Value": "500" }, { "PowerHint": "GAME", @@ -3121,13 +3121,13 @@ "PowerHint": "GAME", "Node": "AutoMigrationMarginsEnable", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "GAME", "Node": "AutoDvfsHeadroomEnable", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "GAME", @@ -3145,7 +3145,7 @@ "PowerHint": "GAME", "Node": "PerTaskMaxIowaitBoost", "Duration": 0, - "Value": "0" + "Value": "512" }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",