Repository navigation
arm64: dts: apple: t6040-j616s: Give the CPU zones a measured sustainable power - #635
Closed
RyanTheTide wants to merge 1 commit into
Closed
RyanTheTide wants to merge 1 commit into
RyanTheTide wants to merge 1 commit into
Conversation
…able power The CPU zones on the J616s use the power allocator, and with the energy model they now have power actors. They carry no sustainable-power, so the governor estimates a budget from the lowest states of their cooling devices. That budget is far below what this machine sustains, so a zone that reaches its passive trip would throttle much harder than needed. Measure it on the J616s (fleet10, headless): 720 s of all-core load, one busy loop pinned to each of the 14 CPUs, fans left to the SMC. TCMz reached 110 C after 19 s. Over the last 600 s it held 112.0 to 113.8 C (mean 112.8 C) while the PMP's fast die loop limited the P clusters to a mean of about 3.7 GHz. The fans ran at 3450/3730 rpm, where macOS also settles. The SMC core rails read (mean, last 600 s): P0 (PR0b) 25.3 W P1 (PP0b) 23.9 W E (PP2b) 2.1 W These are the units of the energy model, whose per-core values come from the same rails. Give each zone the sum over the clusters it throttles: 51300 mW for the die zone, 25300 mW for the first P cluster's zones, 23900 mW for the second's and 2100 mW for the E cluster's. The GPU zones also shed CPU power, but their budget needs a CPU and GPU load, so they keep the estimate for now. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Contributor
Author
|
Superseded by #715, merged into aurora-wip with house trailers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #606: measured
sustainable-powerfor the 17 J616s CPU thermal zones. It sits on top of #606's branch, so this PR's base isthermal/j616s-wip-20261030. Retarget it or fold it in once #606 is ready.Measurement (J616s, fleet10, 2026-10-30 23:54 to 00:06)
720 s of all-core load: one pinned busy loop on each of the 14 CPUs, headless, no audio, fans left to the SMC, display off. Guard at 117 C on any CPU zone (it never fired). Sampled about once a second.
The PMP's fast die loop did the limiting. All cpufreq cooling devices stayed at state 0, since TCMz stays below the 116 C passive trip from #606. The rails are the ones the #606 energy model was measured from, so the numbers are in EM units.
Values
Testing
dtcbuilds t6040-j616s.dtb on this branch with no new warnings.fdtgetreads 51300 on cpu-die-thermal and 23900 on cpu-p10-thermal./sys/class/thermal/thermal_zone*/sustainable_power, and run a CPU+GPU load to see whether the zones reach 116 C and how hard they throttle.j616s-night2-20261030/sustain/(sustain-smcfans-fleet10.tsv, j6-sustain.sh, sustain-ana.py, analysis-600s.txt).The integration/aurora twin (#605) needs the same change.
🤖 Generated with Claude Code