~/talk

Cyclictest latency, find out why with tracing

links:none on file
slides:none on file

Runs cyclictest with kernel tracing enabled and uses Trace command plus new C libraries (libtracecmd, built on libtracefs and libtraceevent) to parse trace.dat, walk events backward to find the trace marker, then forward to correlate timer expiry, wakeup, sched_switch and locks. Claims: a 100 μs threshold hit as 561 μs in one run; function tracing and enabling all events raises average wake latency from ~3 μs to ~8–10 μs; a raw spinlock holds for ~168 μs. The tool automates analysis and mostly works; reverse iterator lives in Patchwork pending upstream.

AI-written summary · about

  1. 0:00Cyclic test latency tracing
  2. 3:53Vanilla Linux kernel test
  3. 6:22Trace CMD for tracing
  4. 11:38Automating lib Trace CMD
  5. 13:23Lib Trace CMD code walkthrough
  6. 23:09Tracing software interrupts
  7. 31:39Tracing all latency events
  8. 36:16Q&A: lock owners and Python
  9. 40:10Q&A: upstreaming code and rtla
  10. 44:29Q&A: latency and overhead
~/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.