~/talk

VM Tuning, Know Your Engine - Part III: The Scheduler

Talkat Erlang Factory SF Bay Area 2014 · 2014-03-06..03-07· [elixir-and-erlang]
slides:none on file

A real debugging story about the Erlang scheduler: a single scheduler falls asleep and then runs term_to_binary on 600 megabyte rows while that function only charges 20 reductions, so the process never yields and heartbeat kills the node; the quick fix is to bump reductions per iteration. Later an R15 change adds line-number stack traces and produces 60,000 stack traces/sec (each cheap in reductions), causing widespread timeouts until those traces are stopped. Scheduling, timing-wheel size, and load‑balancer intervals are explained.

AI-written summary · about

  1. 0:00Start
  2. 12:45Process Control Block
  3. 14:06ERTS as components: The BEAM interpreter Processes
  4. 18:49Process State Reductions Que Handling Timing wheels
  5. 33:20Load Balancing
  6. 36:29Reduction count problems BIFs uses an arbitrary amount of reductions
~/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.