~/talk

Level Up Your Game: OS Kernel and Game Interactions revealed with Perfetto

links:none on file
slides:none on file

Perfetto collects ftrace events (sched_switch, sched_waking, sched_wakeup, IRQ and softirq entry/exit) and a minimal config yields ~2–3% tracing overhead while exposing scheduler and interrupt impact. A Pixel 8 trace of Angry Birds shows 41.48s of 90s (~46% CPU utilization) with IRQs 4.05s (~10% of time), frame cadence at 16.6ms (60 FPS), and scheduler overhead around 10–15%. Use trace_processor SQL or Python bindings to compute true thread runtime and detect memory leaks via periodic snapshots.

AI-written summary · about

  1. 0:00Introduction to Perfetto
  2. 1:06Why Perfetto for gaming
  3. 7:09Perfetto basics and config
  4. 9:13CPU utilization analysis
  5. 11:22Frame rate and timing
  6. 12:28Interrupt and softirq impact
  7. 14:36Thread wakeup dependencies
  8. 17:35OS scheduler overhead
  9. 19:42CPU idle states
  10. 20:47Trace processor deep dive
  11. 22:12Memory leak detection
  12. 24:15Q&A on trace collection
~/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.