[Others] Cap AI renderer CPU automatically on battery V25.2.2
Tofloor
poster avatar
深度之家
deepin
11 hours ago
Author
[System Version]: deepin V25.2.2 Follow-up to "AI window triples power draw on blocklisted GPUs" Tried: a cgroup v2 quota on the assistant's renderer processes (cpu.max = 60000 100000, i.e. 60% of one core). Measured while streaming: temperature ~70 C -> ~58-60 C system draw ~44 W -> ~33 W fan ramps -> mostly silent rendering baseline -> ~40% slower, no stutter Suggested behaviour: 1. On battery: cap at 60% of one core. 2. On mains: release the cap and render at full speed. 3. Manual override, dropped when the power source next changes. 4. A visible indicator showing the state, one click to toggle. Notes: no root needed (delegated cgroup); select renderers by process tree, not command line, since the renderer lacks application-name=uos-ai-assistant; re-apply every ~5 s as new renderers appear; leave other QtWebEngine apps untouched. Why it matters: blocklisted GPUs are common (any Intel older than Skylake), and those are exactly the laptops where battery life is tightest.

Reply Favorite View the author
All Replies
avatar
深度之家
deepin
11 hours ago
#1
已收到反馈,接下来会对性能方面再继续优化。 需要先了解用户当前的机器配置,CPU型号、内存配置、GPU配置等信息,以方便针对性的验证分析、处理。
Reply View the author