~/talk

strace: fight for performance

Talkat DevConf.CZ 2020 · 2020-01-24..01-26· [linux-and-operating-systems]
links:none on file
links:none on file
slides:none on file

Overview of concrete strace optimizations: enabling single-register read syscall on many architectures cuts dozens of ptrace calls to one, adding process_vm_readv caching avoids repeated page copies when decoding large buffers, and introducing seccomp BPF filters converts many ptrace stops into fast kernel-side returns reducing runtime overhead in traced workloads. A long-standing thread-queueing batch dispatch patch fixes massive slowdowns for fork/clone-heavy programs (carried in RHEL for ~10 years, upstream in strace 5.0), and these changes together deliver measurable multi‑x speedups in realistic cases.

AI-written summary · about

  1. 0:00Intro
  2. 0:35What is strace
  3. 0:57strace API
  4. 2:16what strace does
  5. 3:30optimization
  6. 4:41architectures
  7. 10:12optimizations
  8. 11:03bug
  9. 11:57shadowing fairness
  10. 14:28common message
  11. 15:30stress
  12. 16:12sidechannel attacks
  13. 17:48strace comp
  14. 19:00artificial example
  15. 19:24short history
  16. 19:49future
  17. 20:19by default
~/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.