~/talk

How to get realistic c-state latency and residency?

links:none on file
slides:none on file

Uses the hikey960 and a simple LT workload plus an arm energy probe to compare CPU-idle, cluster-off and WFI power without specialized gear. Measures exit latency by firing thousands of simultaneous absolute-timer wakeups (big-cluster worst-case ~3 ms, little ~1.6 ms), measures entry by increasing sleep lengths to find the breakpoint (CPU ~0.5 ms, cluster ~1 ms), and derives residency by plotting power vs sleep period to find a ~5 ms break-even and strong dependence on OPP. Scripts and automation are provided.

AI-written summary · about

  1. 0:00Introduction to c-state latency
  2. 1:54Why measure c-state latency
  3. 4:42Tools for measuring latency
  4. 7:35Measuring exit latency
  5. 16:53Entry latency measurement
  6. 21:10Residency time overview
  7. 23:24Calculating residency time
  8. 26:18Power consumption tests
  9. 28:29OPP impact on residency
  10. 29:16Conclusion and next steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.