The Fancy Algorithms That Make Your Computer Feel Smoother
This video was sponsored by Brilliant. To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/CoreDumped. You’ll also get 20% off an annual premium subscription. Join CodeCrafters and learn by creating your own: Redis, Git, Http server, Interpreter, Grep... in your favorite programming language: https://app.codecrafters.io/join?via=... In this video we start talking about CPU scheduling. Timestamps: 00:03 - Introduction 00:52 - What is CPU Scheduling? 01:14 - Scheduling Criteria 01:30 - CPU Allocation 02:46 - Process Management 04:08 - FCFS Policy (Introduction) 04:24 - I/O Waiting Nature of Processes 05:18 - Sponsor Message 06:29 - Deeper Look at I/O Wait Behavior 08:23 - CPU Bursts vs I/O Bursts 09:52 - CPU Utilization 10:36 - Lifetime of a Process (States) 13:02 - The Dispatcher 14:24 - Scheduler vs Dispatcher 14:38 - Dispatch Latency 15:21 - FCFS Policy (Implementation) 15:58 - FCFS Drawbacks 16:19 - I/O Bound vs CPU-Bound Processes 18:25 - Shortest Job First (SJF) Policy 19:16 - Average Waiting Time 20:16 - Predicting the Next CPU Bursts 24:42 - Preemptive vs Non-Preemptive Scheduling 26:58 - Starvation 27:58 - Round Robin Policy & Time Quantum 29:19 - Hardware Timer 30:33 - Context Switch Overhead 31:04 - Turnaround Time & Trhoughput 32:15 - Response Time 32:54 - Round Robin & Concurency Concerns 34:18 - Priority Scheduling 36:14 - Aging (Starvation Prevention) 37:35 - Multilevel Queue Scheduling 39:11 - Multilevel Feedback Queue Scheduling 43:06 - Mention of Advanced Schedling Techniques 43:33 - Final Clarifications (Threads and I/O queues) Questions and business contact: [email protected] Sponsor my work on Github: https://github.com/jdvillal Join our discord server: / discord Follow me on twitter: https://twittter.com/coredumpped Twitch: / coredumpped

The Weirdest Bug in Programming - Race Conditions

How Linux Boots

CONCURRENCY IS NOT WHAT YOU THINK

Why AI Can Never Escape Turing's 1936 Proof

NeXT Computer: The Billion-Dollar Mistake That Wasn't

How CPUs Interact with So Many Different Devices

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

Turing Award Winner: TPU vs GPU vs CPU, Computer Architecture, RISC vs CISC | David Patterson

What Happens When a Program Calls Sleeps?

The Rise and Fall of 3dfx, the Graphics Pioneer That Created the GPU Revolution, Then Lost to NVIDIA

The Question Nobody Ever Explains: Where Does the Kernel End?

I Wrote my Own Filesystem to Beat Factorio.

FPGAs Aren’t Processors (Unless You Want Them to Be) || FPGA Deep Dive and Use

The Most Successful Idea in Computer Science

How Rockstar fit an entire city into PlayStation 2 memory

Last Lecture Series: “How to Win Without Crushing Your Soul” - Graham Weaver

No Boss, No Money: The Raw Reality of China’s Gen-Z Freelancers

Programming in Assembly without an Operating System

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

