Learn the Skills Netflix, Meta, and Capital One Actually Hire For
Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore a new design for the cgroups CPU controller in the Linux scheduler presented at the Linux Plumbers Conference. Dive into the implementation of a single runqueue system that scales vruntime by the inverse of task priority, aiming to reduce complexity and overhead in frequently scheduling workloads. Learn about the flat runqueue structure, runtime calculations, scheduling mechanisms, and load management. Compare this approach to the current CPU controller and cgroup implementation. Examine potential pitfalls, performance results, and draw conclusions on the effectiveness of this innovative scheduler design.
Syllabus
CPU controller with flat runqueue
Runtime, priority & vruntime
Scheduling & min vruntime
Wakeup & placement
Preemption
Load & weight
Current CPU controller
Current cgroup CPU controller
CPU controller load avg
Task hierarchical load
New CPU controller
Pitfalls
Performance results
Conclusions
Taught by
Linux Plumbers Conference