Главная
Study mode:
on
1
Intro
2
What is the scheduler
3
Why do we need a scheduler
4
When does it do all the scheduling
5
Goals
6
Question
7
N1 Scheduling
8
Reuse Threads
9
Run Queue
10
Concurrency
11
Limit Threads
12
Should we ship it
13
Distributed run queues
14
Work stealing
15
Handoff
16
Ghost Scheduler
17
Cooperative preemption
18
Conclusion
Description:
Explore the inner workings of the Go scheduler in this 31-minute conference talk from GopherCon 2018. Delve into the M:N multiplexing of goroutines on system threads, examining mechanisms for scheduling, unscheduling, and rebalancing goroutines. Learn how the scheduler supports the netpoller and memory management systems for goroutine stack resizing and heap garbage collection. Evaluate the effectiveness and performance of the scheduler as speaker Kavya Joshi guides you through topics such as N1 scheduling, thread reuse, run queues, concurrency, work stealing, and cooperative preemption. Gain insights into the behind-the-scenes machinery that powers Go programs, efficiently runs goroutines, and coordinates network I/O and memory management.

The Scheduler Saga

Gopher Academy
Add to list