~/talk

Go Scheduler

Talkat GoWayFest 2017 · on Friday, 2017-07-21· [go]
links:none on file
slides:none on file

A concrete bug: a tiny increment loop can never finish because compiler misses runtime preemption points so goroutines never yield, causing increment loop hangs across implementations; explanation shows the scheduler’s G/M/P model and work‑stealing, how syscalls and stack‑growth callouts return an OS thread to goroutines, and why a micro‑optimization in strings.Split removed a safepoint and made GC stall. The talk cites tests, tries fixes (extra safepoints) and experiments, but no accepted fix exists yet — the patch idea slows hot paths badly.

AI-written summary · about

  1. 0:00Introduction to Go Scheduler
  2. 5:17Why Go Routines Differ
  3. 14:58Goroutines vs OS Threads
  4. 21:26Work Stealing in Go
  5. 28:42Preemptive Multitasking in Go
  6. 33:24Garbage Collection Impact
  7. 36:58Q&A on Go Scheduler
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.