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