Save this video — free

ECE344 Fall 2026 (Sec 1) Lec 12 - Basic Scheduling

Jon Eyolfson · 51:32 · Watch on YouTube

ECE344 Fall 2026 (Sec 1) Lec 12 - Basic Scheduling Watch on YouTube →

Overview

Jon Eyolfson connects xv6’s process memory layout and RISC-V trap handling to the mechanics of scheduling: interrupts save state, context switches restore another process, and the scheduler chooses what runs next. He compares FCFS, shortest job first, shortest remaining time first, and round robin, showing how waiting time, response time, fairness, and context-switch overhead trade off; in the round-robin example, a quantum of 3 produces 7 context switches.

Key takeaways

Chapters

0:00 Page-Table Permissions and xv6’s Address-Space Layout
2:40 Guard Pages, Kernel-Mapped Pages, and Linux vDSO
8:20 RISC-V System Calls, the Trampoline, and Trap Frames
13:20 Timer Interrupts, Yielding, and Preemptive Multitasking
18:20 Context Switching, xv6’s Scheduler, and Scheduling Trade-Offs
27:30 FCFS Scheduling and Waiting-Time Calculations
33:50 Shortest Job First and the Risk of Starvation
38:10 Shortest Remaining Time First Adds Preemption
41:09 Round Robin Queues and a Three-Unit Quantum
48:05 Choosing a Round-Robin Quantum and Reviewing the Algorithms

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Jon Eyolfson.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.