From a4b5c7b21afbe49bbb574ea079c710a2c60958cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=B3=E5=85=B0=E9=9F=B3=E9=9F=B5?= <91950505+naranyinyun@users.noreply.github.com> Date: Fri, 24 Nov 2023 21:44:38 +0800 Subject: [PATCH] Update dimensity9000.json --- dimensity9000.json | 580 +++++++++++++++++++++++++++++++-------------- 1 file changed, 401 insertions(+), 179 deletions(-) diff --git a/dimensity9000.json b/dimensity9000.json index ea2fd18..ac836f3 100644 --- a/dimensity9000.json +++ b/dimensity9000.json @@ -1,245 +1,467 @@ { - "name": "Dimensity9000/9000+_Complex7", + "name": "Dimensity9000/9000+_Complex9", "author": "XiaHuaBeiChiDiaoLe", - "configVersion": 6, - "debug": false, + "configVersion": 8, "CpuGovernor": { "enable": true, - "slowSampleTime": 55, - "fastSampleTime": 35, - "policy": { - "policy0": { - "cpuCore": [0, 1, 2, 3], + "params": { + "activeRateHz": 55, + "idleRateHz": 35, + "minFreqStep": 200 + }, + "policies": [ + { + "coreNum": 4, "perfScale": 100, "lowPowerFreq": 200, - "baseFreq": 1100, "optimalFreq": 1600, - "modelFreq": 1800, + "modelFreq": 2000, "modelPower": 500 }, - "policy1": { - "cpuCore": [4, 5, 6], + { + "coreNum": 3, "perfScale": 240, "lowPowerFreq": 400, - "baseFreq": 900, "optimalFreq": 2200, "modelFreq": 2850, "modelPower": 2240 }, - "policy2": { - "cpuCore": [7], + { + "coreNum": 1, "perfScale": 285, "lowPowerFreq": 1300, - "baseFreq": 1300, "optimalFreq": 2500, "modelFreq": 3050, "modelPower": 3400 } - }, - "powersave": { - "powerLimit": 1550, - "policy0": { - "upRateLatency": 100, - "perfMargin": 17 - }, - "policy1": { - "upRateLatency": 130, - "perfMargin": 15 - }, - "policy2": { - "upRateLatency": 150, - "perfMargin": 13 - }, - "freqBurst": { - "touch": { - "boost": 0, - "durationTime": 0 - }, - "swipe": { - "boost": 5, - "durationTime": 500 + ], + "modes": { + "powersave": { + "powerLimit": 1550, + "perfMargin": [ + 17, + 15, + 13 + ], + "upRateLatency": 1000, + "freqBurst": { + "none": { + "durationTime": 0, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 0, + "boost": 0 + }, + "tap": { + "durationTime": 1000, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 0, + "boost": 20 + }, + "swipe": { + "durationTime": 500, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 10, + "boost": 0 + }, + "gesture": { + "durationTime": 1000, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 20, + "boost": 20 + }, + "heavyload": { + "durationTime": 2000, + "unlimitPower": true, + "lowLatency": false, + "extraMargin": 20, + "boost": 0 + }, + "jank": { + "durationTime": 0, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 0, + "boost": 0 + }, + "bigJank": { + "durationTime": 100, + "unlimitPower": true, + "lowLatency": false, + "extraMargin": 0, + "boost": 40 + } }, - "gesture": { - "boost": 10, - "durationTime": 500 - }, - "heavyload": { - "boost": 20, - "durationTime": 2000 - } - } - }, - "balance": { - "powerLimit": 2150, - "policy0": { - "upRateLatency": 90, - "perfMargin": 13 - }, - "policy1": { - "upRateLatency": 110, - "perfMargin": 15 - }, - "policy2": { - "upRateLatency": 110, - "perfMargin": 17 + "heatControl": [ + { + "cpuTemp": 95, + "maxPower": 2000 + } + ] }, - "freqBurst": { - "touch": { - "boost": 5, - "durationTime": 500 + "balance": { + "powerLimit": 2050, + "perfMargin": [ + 21, + 23, + 25 + ], + "upRateLatency": 800, + "freqBurst": { + "none": { + "durationTime": 0, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 0, + "boost": 0 + }, + "tap": { + "durationTime": 1000, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 0, + "boost": 20 + }, + "swipe": { + "durationTime": 500, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 10, + "boost": 0 + }, + "gesture": { + "durationTime": 1000, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 20, + "boost": 20 + }, + "heavyload": { + "durationTime": 2000, + "unlimitPower": true, + "lowLatency": false, + "extraMargin": 20, + "boost": 0 + }, + "jank": { + "durationTime": 100, + "unlimitPower": true, + "lowLatency": true, + "extraMargin": 0, + "boost": 40 + }, + "bigJank": { + "durationTime": 100, + "unlimitPower": true, + "lowLatency": true, + "extraMargin": 20, + "boost": 40 + } }, - "swipe": { - "boost": 10, - "durationTime": 300 - }, - "gesture": { - "boost": 10, - "durationTime": 500 - }, - "heavyload": { - "boost": 20, - "durationTime": 2000 - } - } - }, - "performance": { - "powerLimit": 2550, - "policy0": { - "upRateLatency": 90, - "perfMargin": 17 - }, - "policy1": { - "upRateLatency": 130, - "perfMargin": 19 + "heatControl": [ + { + "cpuTemp": 90, + "maxPower": 2500 + }, + { + "cpuTemp": 95, + "maxPower": 2500 + } + ] }, - "policy2": { - "upRateLatency": 110, - "perfMargin": 21 - }, - "freqBurst": { - "touch": { - "boost": 10, - "durationTime": 500 - }, - "swipe": { - "boost": 15, - "durationTime": 500 - }, - "gesture": { - "boost": 10, - "durationTime": 500 + "performance": { + "powerLimit": 2550, + "perfMargin": [ + 25, + 27, + 30 + ], + "upRateLatency": 600, + "freqBurst": { + "none": { + "durationTime": 0, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 0, + "boost": 0 + }, + "tap": { + "durationTime": 1000, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 0, + "boost": 20 + }, + "swipe": { + "durationTime": 500, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 10, + "boost": 0 + }, + "gesture": { + "durationTime": 1000, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 20, + "boost": 20 + }, + "heavyload": { + "durationTime": 2000, + "unlimitPower": true, + "lowLatency": false, + "extraMargin": 20, + "boost": 0 + }, + "jank": { + "durationTime": 100, + "unlimitPower": true, + "lowLatency": true, + "extraMargin": 0, + "boost": 40 + }, + "bigJank": { + "durationTime": 100, + "unlimitPower": true, + "lowLatency": true, + "extraMargin": 20, + "boost": 40 + } }, - "heavyload": { - "boost": 30, - "durationTime": 2000 - } - } - }, - "fast": { - "powerLimit": 10000, - "policy0": { - "upRateLatency": 75, - "perfMargin": 30 - }, - "policy1": { - "upRateLatency": 75, - "perfMargin": 30 - }, - "policy2": { - "upRateLatency": 75, - "perfMargin": 30 + "heatControl": [ + { + "cpuTemp": 85, + "maxPower": 5000 + }, + { + "cpuTemp": 90, + "maxPower": 4000 + }, + { + "cpuTemp": 95, + "maxPower": 3000 + } + ] }, - "freqBurst": { - "touch": { - "boost": 20, - "durationTime": 1000 + "fast": { + "powerLimit": 10000, + "perfMargin": [ + 30, + 30, + 30 + ], + "upRateLatency": 400, + "freqBurst": { + "none": { + "durationTime": 0, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 0, + "boost": 0 + }, + "tap": { + "durationTime": 1000, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 0, + "boost": 20 + }, + "swipe": { + "durationTime": 500, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 10, + "boost": 0 + }, + "gesture": { + "durationTime": 1000, + "unlimitPower": false, + "lowLatency": false, + "extraMargin": 20, + "boost": 20 + }, + "heavyload": { + "durationTime": 2000, + "unlimitPower": true, + "lowLatency": false, + "extraMargin": 20, + "boost": 0 + }, + "jank": { + "durationTime": 100, + "unlimitPower": true, + "lowLatency": true, + "extraMargin": 0, + "boost": 40 + }, + "bigJank": { + "durationTime": 100, + "unlimitPower": true, + "lowLatency": true, + "extraMargin": 20, + "boost": 40 + } }, - "swipe": { - "boost": 30, - "durationTime": 500 - }, - "gesture": { - "boost": 40, - "durationTime": 500 - }, - "heavyload": { - "boost": 40, - "durationTime": 2000 - } + "heatControl": [ + { + "cpuTemp": 95, + "maxPower": 3000 + } + ] } } }, "ThreadSchedOpt": { "enable": true, "MainThread": { - "cpus": [4, 5, 6], + "cpus": [ + 4, + 5, + 6 + ], "nice": -10 }, "GameSingleThread": { - "cpus": [7], + "cpus": [ + 7 + ], "nice": -16 }, "GameMultiThread": { - "cpus": [4, 5, 6], - "nice": -16 - }, - "RenderThread": { - "cpus": [7], + "cpus": [ + 4, + 5, + 6 + ], "nice": -16 }, "UIThread": { - "cpus": [4, 5, 6], + "cpus": [ + 4, + 5, + 6 + ], "nice": -10 }, "MediaThread": { - "cpus": [0, 1, 2, 3, 4, 5], + "cpus": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], "nice": -16 }, "WebViewThread": { - "cpus": [4, 5, 6], + "cpus": [ + 4, + 5, + 6, + 7 + ], "nice": -10 }, "ProcessThread": { - "cpus": [4, 5, 6], + "cpus": [ + 4, + 5, + 6 + ], "nice": -8 }, "NonRealTimeThread": { - "cpus": [0, 1, 2, 3], - "nice": 10 + "cpus": [ + 0, + 1, + 2, + 3 + ], + "nice": 0 }, "OtherThread": { - "cpus": [0, 1, 2, 3, 4, 5, 6], + "cpus": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], "nice": 0 } }, "MtkGpuGovernor": { "enable": true, - "slowSampleTime": 40, - "fastSampleTime": 20, - "preferredFreq": [], - "powersave": { - "maxFreq": 290, - "perfMargin": 10, - "upRateLatency": 80, - "touchBoost": false + "params": { + "activeRateHz": 55, + "idleRateHz": 35, + "preferredFreq": [] }, - "balance": { - "maxFreq": 501, - "perfMargin": 20, - "upRateLatency": 80, - "touchBoost": false - }, - "performance": { - "maxFreq": 717, - "perfMargin": 25, - "upRateLatency": 60, - "touchBoost": false - }, - "fast": { - "maxFreq": 848, - "perfMargin": 30, - "upRateLatency": 40, - "touchBoost": false + "modes": { + "powersave": { + "maxFreq": 219, + "minFreq": 0, + "upRateThres": 90, + "downRateDiff": 10 + }, + "balance": { + "maxFreq": 501, + "minFreq": 0, + "upRateThres": 80, + "downRateDiff": 10 + }, + "performance": { + "maxFreq": 717, + "minFreq": 0, + "upRateThres": 70, + "downRateDiff": 10 + }, + "fast": { + "maxFreq": 960, + "minFreq": 0, + "upRateThres": 70, + "downRateDiff": 20 + } + } + }, + "FileWriter": { + "enable": true, + "scenes": { + "init": [ + { + "path": "/dev/cpuset/restricted/cpus", + "text": "0-3" + }, + { + "path": "/dev/cpuset/system-background/cpus", + "text": "0-3" + }, + { + "path": "/dev/cpuset/background/cpus", + "text": "0-3" + }, + { + "path": "/dev/cpuset/foreground/cpus", + "text": "0-6" + }, + { + "path": "/dev/cpuset/top-app/cpus", + "text": "0-7" + } + ], + "screenOn": [], + "screenOff": [], + "powersaveMode": [], + "balanceMode": [], + "performanceMode": [], + "fastMode": [] } } }