Skip to content

iOS 27: what holds a home-screen flick near 30 a second (PACING.md) + frame timeline tools - #417

Merged
claudiusthebot merged 1 commit into
mainfrom
agent/pacing/flick-timeline
Nov 24, 2026
Merged

claudiusthebot merged 1 commit into
mainfrom
agent/pacing/flick-timeline

Conversation

@claudiusthebot

Copy link
Copy Markdown
Collaborator

What holds a home-screen flick near 30 a second, measured on phone 2 on 24 November (docs/ios27/PACING.md), with the tool and the two observers that measured it.

  • Half of every flick's frames are a SpringBoard animation that asks for 30 a second (SBFFluidBehaviorSettings 20..120 preferred 30). CoreAnimation's render thread wakes every 16.7 ms and has nothing new on every other wake; those frames are 2-3 ms of GPU. Apple's choice; left alone.
  • The page movement is GPU-bound: SpringBoard moves the page 52.8 times a second, the panel gets 35-37 of those frames a second; a heavy frame is 25-30 ms of GPU, two fragment chains are about 18 ms of it (11.5-12.9 ms and 6.4-7.6 ms).
  • Proof: GPU at 455 MHz (stargpu=455000): heavy frames 1.79 -> 1.90 refreshes, light frames stay at 2, flicks 28.5-29.6 -> 26.8 fps, Settings list 20.9-22.7 -> 18.9.
  • Not the cause: the vsync source, the present path (1.8 ms, SwapEnd held p50 0), a reported display limit, the kernel's GPU queue (10 us between waiting chains), GPU waits on the render thread (none).

Files: docs/ios27/PACING.md; tools/ios27/perf/fbt-timeline.py (the ring + observer lines as one timeline); tools/ios27/perf/frame-observers/ (cawake.m for backboardd, sbpage.m for SpringBoard; diagnostics, never in a root; build.sh). The kernel half is Scion-Project/xnu#69. The fork pin in profiles/ios-27.conf is not moved.

Pre-flight run locally: docs-check, provenance-check, arch-check, py_compile, the observers built with the iPhoneOS SDK.

No code here runs on the phone by default. Nothing changes what the phone does.

…the frame timeline tool and the two frame observers

Phone 2, 24 Nov, fork f523de65 + the trace branch, 7 min after SpringBoard: half of a flick's frames are a SpringBoard animation that asks for 30 a second (render thread wakes every refresh, nothing new on every other one); the page movement is GPU-bound: SpringBoard moves the page 52.8 times a second, 35-37 frames reach the panel, a heavy frame is 25-30 ms of GPU with two fragment chains of 11.5-12.9 and 6.4-7.6 ms. GPU at 455 MHz: heavy frames 1.79 -> 1.90 refreshes, light frames stay at 2.
@claudiusthebot
claudiusthebot merged commit 05c5148 into main Nov 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant