~/talk

Tweaking Device Drivers for Achieving Real-Time Performance in Embedded...

links:none on file
links:none on file
slides:none on file

RT Linux on an application processor is tuned to reach MCU-like determinism for SPI devices by tracing with trace-cmd + KernelShark, cyclictest and lmbench, finding that deferred work in the DMA engine (per-channel tasklets and udma status checks) causes rare spikes from expected ~800 µs to 5–100 ms. Removing non‑RT callbacks, promoting workqueues where needed, and using the SPI controller’s local completion event (instead of waiting on DMA callbacks) reduces jitter to ~800 µs typical and peaks under ~400 µs in host workloads; test artifacts live on GitHub.

AI-written summary · about

  1. 0:00Start
  2. 1:18Problem Statement
  3. 7:57RT Linux System Tuning
  4. 10:30SPI Target mode | Challenges
  5. 15:14SPI Controller driver | Analysis
  6. 15:31DMA driver analysis | Finding Bottlenecks
~/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.