Repository navigation
arm64: dts: apple: t8140: Add measured CPU capacity values - #55
Merged
Merged
Conversation
Describe the relative per-MHz throughput of the E and P cores for the scheduler. Without these properties, it treats the two CPU types as equal capacity. On a J700, three alternating CoreMark runs per cluster at each cluster's maximum frequency gave median throughput of 12.6983 iterations/s/MHz on P CPU0 at 4044 MHz and 8.8239 on E CPU1 at 2424 MHz. The E/P ratio is 0.694886. Normalizing P to 1024 and rounding E gives 712. The runs reported valid CoreMark results, stable requested frequencies and no throttling; per-MHz spread was 0.03% for P and 0.17% for E. The earlier nearby-OPP microbenchmarks gave E=912, but did not test the same workload as the CoreMark-derived values used for other Apple SoCs. The expected scheduler capacity at maximum frequency is 1024 for P and about 427 for E; runtime readback of this revision remains to be done. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
DjDeveloperr
pushed a commit
that referenced
this pull request
Oct 15, 2026
Signed-off-by: Chris Kearney <[email protected]>
This was referenced Nov 6, 2026
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.
Summary
Set
capacity-dmips-mhzon the four T8140 (MacBook Neo, J700) E cores to 712, replacing the provisional 912. The two P cores stay at 1024.Measurement
CoreMark at each cluster's maximum frequency, three alternating runs per cluster, with no thermal capping recorded: median P 12.698 and E 8.824 iterations/s/MHz. E/P = 0.6949, and round(1024 x 0.6949) = 712. Run-to-run spread was 0.03 % (P) and 0.17 % (E).
Testing (J700)
cpu_capacityreads 1024 on both P cores and 712 on all four E cores. This base has no T8140 cpufreq yet, so arch_topology reports the device-tree ratio unscaled.checkpatch.pl --strict: 0 errors; the DTB builds without warnings.🤖 Generated with Claude Code