~/talk

When the OS gets in the way

Talkat Strange Loop 2015 · 2015-09-24..09-26· [web-performance, devops-and-delivery]
links:none on file
slides:none on file

Shows concrete wins: using isolcpus and cpusets to carve CPU domains, pinning hot JVM threads with sched_setaffinity, and measuring with perf and ftrace to find kernel work (kworker, cache_reap, VM stat updates) that causes microsecond pauses. Interthread-latency distributions move from hundreds of micros to tens under load — mean/percentiles roughly halve in tuned runs on LINUX; example app and measurements run end to end and the approach demonstrably reduces jitter.

AI-written summary · about

  1. 0:00Intro
  2. 0:45It's not the OS's fault
  3. 1:20Useful in some scenarios
  4. 2:03Jitter
  5. 2:56Dealing with it
  6. 4:04Measure first
  7. 5:38Modern hardware layout
  8. 7:16Multi-tasking
  9. 8:07Linux CFS
  10. 10:02An example application ...
  11. 11:13running on a language runtime
  12. 11:43running on an operating system
  13. 12:17Optimise for locality - PCl/memory
  14. 14:18Target deployment
  15. 15:01Start with the metal
  16. 15:49Discover what's available
  17. 17:48Reserve & use specific resource
  18. 19:01Deploy the application
  19. 20:18A solution: cpusets
  20. 20:58Isolate OS processes
  21. 22:22Run the application
  22. 23:08Isolated threads
  23. 24:25perf_events
  24. 25:46What's happening CPU?
  25. 26:38Rogue process
  26. 29:04ftrace
  27. 30:15So what is that kernel thread doing?
  28. 30:50Some things can't be deferred
  29. 32:22Things to look out for
  30. 36:02Some numbers
  31. 38:02tuned vs untuned (log scale)
  32. 39:18Results (loaded system)
  33. 39:56tuned vs untuned (loaded system)
  34. 40:21Summary
~/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.