~/talk

“Using async-profiler to Find Tail Latency Issues”

Talkat RustConf 2025 · 2025-09-02..09-05· [rust]
links:none on file
slides:none on file

Shows how async-profiler-style sampling plus a tiny per-task timestamp reveals where Tokio tasks stall: a thread-local write when a task is polled (about ten cycles) lets samples be attributed to long Tokio task timestamping periods. Finds real cases of repeated allocator churn—malloc freeing to the OS and reacquiring—causing reproducible 6 ms pauses in production. Tooling (open-source pcatch crate on GitHub) writes data when tokio stable is enabled and pinpoints the offending code paths so the allocator behavior can be fixed.

AI-written summary · about

  1. 0:00Rust at AWS
  2. 0:53Understanding tail latency
  3. 1:38CPU-bound issues in Tokio
  4. 2:20Limitations of current tools
  5. 3:03Introducing PollCatch
  6. 3:47Real-world debugging case
  7. 4:31Tool availability and usage
~/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.