Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

CPU Controller on a Single Runqueue

Linux Plumbers Conference via YouTube

Overview

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

Reviews

Start your review of CPU Controller on a Single Runqueue

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.