~/talk

Tales of Go Runtime Scheduler

Talkat GoWayFest 4.0 (online edition) · 2020-07-11..07-12· [concurrency, go]
slides:none on file

Shows how Go maps goroutines onto OS threads with concrete mechanics: the P G M model, work-stealing, and the scheduler’s states. Explains how blocking channels and blocking system calls are handled, walks through actual scheduler traces and diagrams, and demonstrates a few live examples that reveal when N goroutines on M threads degrades performance and when it scales. Ends with actionable rules for interpreting trace output and fixing common contention cases like syscall blocking and runqueue imbalance.

AI-written summary · about

  1. 0:00Introduction to Go runtime
  2. 3:46Problem statement explained
  3. 8:11System call basics
  4. 12:16Scheduler challenges
  5. 15:44Modeling the scheduler
  6. 20:39Optimizing performance
  7. 21:23Q&A and summary
~/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.