~/talk

Think Outside the VM: Unobtrusive Performance Measurement

Talkat Erlang User Conference 2016 · 2016-09-08..09-09· [observability]
links:none on file
slides:none on file

When VM tracing is too risky, measurement moves outside the VM and uses Linux kernel facilities to sample native state and reconstruct Erlang stacks: perf (perf record/top), perf map plus DWARF unwinding, ELF/elfutils hacks, and reading target memory with process_vm_readv. A released tool called rolling-sample intermixes native and Erlang frames, reveals NIF and GC hotspots (timer_now_diff surprisingly hot), estimates skid, and supports blame-mode and slow‑down experiments. Approach works at tens of thousands RPS but tools are brittle and experimental.

AI-written summary · about

  1. 0:00The challenges of profiling
  2. 3:35Analyzing system interfaces
  3. 9:38Leveraging perf for analysis
  4. 14:04Visualization and metrics
  5. 19:32Hacking custom stack traces
  6. 34:09Practical workflow tactics
  7. 38:41Future directions and Q&A
~/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.