YoVDO

The Scheduler Saga

Offered By: Gopher Academy via YouTube

Tags

GopherCon Courses Memory Management Courses Performance Evaluation Courses Goroutines Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

Syllabus

Intro
What is the scheduler
Why do we need a scheduler
When does it do all the scheduling
Goals
Question
N1 Scheduling
Reuse Threads
Run Queue
Concurrency
Limit Threads
Should we ship it
Distributed run queues
Work stealing
Handoff
Ghost Scheduler
Cooperative preemption
Conclusion


Taught by

Gopher Academy

Related Courses

Heterogeneous Parallel Programming
University of Illinois at Urbana-Champaign via Coursera
Advanced Operating Systems
Georgia Institute of Technology via Udacity
計算機程式設計 (Computer Programming)
National Taiwan University via Coursera
Introduction to Operating Systems
Georgia Institute of Technology via Udacity
Android Performance
Google via Udacity